--- smsdaemon/Spooler.h 2008/12/07 00:59:05 132 +++ smsdaemon/Spooler.h 2008/12/07 20:18:20 148 @@ -1,3 +1,6 @@ +#ifndef __SPOOLER_H__ +#define __SPOOLER_H__ + #include @@ -6,12 +9,17 @@ public: void enqueue(std::string recipient, std::string message); std::string dequeue(); + + std::string getFilename(); private: - std::string getSpoolFilename(); + std::string findSpoolFilename(); void lock(); void unlock(); int fd; + + std::string filename; }; +#endif // __SPOOLER_H__