File: cmdsequence.h

package info (click to toggle)
speaker 1.0.1-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 264 kB
  • ctags: 174
  • sloc: cpp: 1,521; tcl: 786; makefile: 91; sh: 22
file content (20 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//************************************************************
//   commandsequence class definition for the speakerphone app.
//************************************************************

class CommandSequence
{
   protected:
      char* Command;
      char* GoodAnswer;
      CommandSequence* next;
   public:
      CommandSequence();
      CommandSequence(char* Cmd, char* GdAnswr);
      ~CommandSequence();
      char* GetCommand(){return Command;};
      char* GetAnswer(){return GoodAnswer;};
      CommandSequence* GetNext(){return next;};
      void SetNext(CommandSequence* nxt){next = nxt;};
};