/[projects]/smsdaemon/Spooler.h
ViewVC logotype

Annotation of /smsdaemon/Spooler.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 134 - (hide annotations) (download)
Sun Dec 7 08:44:22 2008 UTC (15 years, 5 months ago) by torben
File MIME type: text/plain
File size: 269 byte(s)
make smsqueue and SpoolTask report the name of the spoolfile

1 torben 132 #include <string>
2    
3    
4     class Spooler
5     {
6     public:
7     void enqueue(std::string recipient, std::string message);
8     std::string dequeue();
9 torben 134
10     std::string getFilename();
11 torben 132 private:
12 torben 134 std::string findSpoolFilename();
13 torben 132
14     void lock();
15     void unlock();
16    
17     int fd;
18 torben 134
19     std::string filename;
20 torben 132 };

  ViewVC Help
Powered by ViewVC 1.1.20