Skip to content

Instantly share code, notes, and snippets.

@vojkny
Created July 10, 2012 07:09
Show Gist options
  • Save vojkny/3081741 to your computer and use it in GitHub Desktop.
Save vojkny/3081741 to your computer and use it in GitHub Desktop.
// generated automatically from ft/common/Ban.xml, DO NOT EDIT!
#ifndef __BAN_CFG_H__
#define __BAN_CFG_H__
#include <string>
namespace szn {
namespace fulltext {
namespace Ban {
class Definition {
private:
int notBanned;
int errorCountReached;
public:
Definition(int notBanned, int errorCountReached) {
this.notBanned = notBanned;
this.errorCountReached = errorCountReached;
}
}
/** Not banned entity */
static const int NotBanned = 0;
/** Error count reached */
static const int ErrorCountReached = 2;
} // namespace Ban
} // namespace szn
} // namespace fulltext
#endif // __BAN_CFG_H__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment