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

Contents of /smsdaemon/Spooler.h

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.20