summaryrefslogtreecommitdiff
path: root/src/include/imapparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/imapparser.h')
-rw-r--r--src/include/imapparser.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/include/imapparser.h b/src/include/imapparser.h
index e0daeb2..7d2ac27 100644
--- a/src/include/imapparser.h
+++ b/src/include/imapparser.h
@@ -28,10 +28,9 @@ namespace Binc {
static SequenceSet &null();
- SequenceSet &operator=(const SequenceSet &copy);
-
SequenceSet();
SequenceSet(const SequenceSet &copy);
+ SequenceSet &operator=(const SequenceSet &copy);
~SequenceSet();
protected:
@@ -66,8 +65,7 @@ namespace Binc {
std::string toString();
};
- class BincImapParserSearchKey {
- public:
+ struct BincImapParserSearchKey {
std::string name;
std::string date;
std::string astring;
@@ -85,13 +83,11 @@ namespace Binc {
BincImapParserSearchKey();
};
- class BincImapParserData {
- public:
- virtual ~BincImapParserData() {}
+ struct BincImapParserData {
+ virtual ~BincImapParserData() = default;
};
class Request {
- private:
std::string tag;
std::string name;
std::string mode;