Skip to content

Commit

Permalink
Move enabled to private
Browse files Browse the repository at this point in the history
  • Loading branch information
dungwinux committed May 6, 2018
1 parent 3351b8d commit e95fa05
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ctimmy.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
ctimmy - C++ port of timmy - Pascal unit for creating chat bots
Version 1.1.0
Version 1.2.0
Copyright (C) 2018 42tm Team <fourtytwotm@gmail.com>
This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -54,13 +54,14 @@ class timmy;
class timmy
{
public:
bool enabled;
bool dupesCheck;
int tPercent;
std::string noUdstdRep;

timmy();
timmy(int newPercent, std::string newRep, bool newDpCheck);
void enable();
void disable();
int add(tStrArray mKeywords, tStrArray replies);
int add(std::string keywordsStr, std::string repStr, char kStrDeli, char mStrDeli);
int remove(tStrArray mKeywords);
Expand All @@ -69,6 +70,7 @@ class timmy
std::string answer(std::string tMessage);

private:
bool enabled;
int nOfEntries = 0;
std::vector<tStrArray> mKeywordsList;
std::vector<tStrArray> replyList;
Expand Down

0 comments on commit e95fa05

Please sign in to comment.