-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathListCommand.h
More file actions
executable file
·51 lines (43 loc) · 1.67 KB
/
ListCommand.h
File metadata and controls
executable file
·51 lines (43 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//------------------------------------------------------------------------------
/// Filename: ListCommand.h
/// Description: Header for Base Class ListCommand
/// Authors:
/// Robin Ankele (0931951)
/// Tutor: Manuel Weber
/// Group: 24
/// Created: 08.09.2011
/// Last change: 08.09.2011
//------------------------------------------------------------------------------
#ifndef LISTCOMMAND_H_INCLUDED
#define LISTCOMMAND_H_INCLUDED
#include "Command.h"
class UserInterface;
class Database;
class ListCommand: public Command
{
private:
//----------------------------------------------------------------------------
/// Copy Constructor
/// Makes a copy of another ListCommand Object.
/// @param source Original to copy.
ListCommand(const ListCommand& source);
//----------------------------------------------------------------------------
/// Assignment Operator
/// Used to assign one ListCommand to another
/// @param source Original with values to copy.
ListCommand &operator=(const ListCommand& source);
public:
//----------------------------------------------------------------------------
/// Constructor
/// @param ui Connection to UserInterface
/// @param db Connection to Database
ListCommand(UserInterface *ui, Database *db);
//----------------------------------------------------------------------------
/// Destructor
virtual ~ListCommand() throw();
//----------------------------------------------------------------------------
/// This Function executes the ListCommand
/// @return returns true if execute was correct
virtual bool execute();
};
#endif //LISTCOMMAND_H_INCLUDED