diff options
| -rw-r--r-- | server/src/journal_commit.cc | 6 | ||||
| -rw-r--r-- | server/src/journal_commit.h | 8 | 
2 files changed, 6 insertions, 8 deletions
| diff --git a/server/src/journal_commit.cc b/server/src/journal_commit.cc index f2ff6c0..e0db705 100644 --- a/server/src/journal_commit.cc +++ b/server/src/journal_commit.cc @@ -52,12 +52,6 @@  #include "template.h"  #include "templateparser.h" -class ResumeEntry { -public: -  std::string resume; -  std::string macro; -}; -  static inline bool iswhitespace(char c)  {    return c == ' ' || c == '\n' || c == '\t'; diff --git a/server/src/journal_commit.h b/server/src/journal_commit.h index 2d6e092..82919ed 100644 --- a/server/src/journal_commit.h +++ b/server/src/journal_commit.h @@ -32,8 +32,6 @@  #include "transaction.h" -class ResumeEntry; -  class JournalWriter {  public:    JournalWriter(std::string host, unsigned short int port); @@ -50,6 +48,12 @@ private:    std::string currentuser;    std::string currentcpr; +  class ResumeEntry { +  public: +    std::string resume; +    std::string macro; +  }; +    std::map< int, ResumeEntry > entrylist;  }; | 
