From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/_command_8h_source.html | 172 +++++++++++++++++++++++++++++++ 1 file changed, 172 insertions(+) create mode 100644 Doc/doxygen/html/_command_8h_source.html (limited to 'Doc/doxygen/html/_command_8h_source.html') diff --git a/Doc/doxygen/html/_command_8h_source.html b/Doc/doxygen/html/_command_8h_source.html new file mode 100644 index 0000000..633dbdc --- /dev/null +++ b/Doc/doxygen/html/_command_8h_source.html @@ -0,0 +1,172 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/Magic2/Command.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Command.h
+
+
+Go to the documentation of this file.
1 /* Project Magic 2.0
+
2  Destroyer Studios LLC
+
3  Copyright © 1997-2005. All Rights Reserved.
+
4 
+
5  SUBSYSTEM: Magic.exe
+
6  FILE: Command.h
+
7  AUTHOR: John DiCamillo
+
8 
+
9 
+
10  OVERVIEW
+
11  ========
+
12  Base class (interface) for command pattern. A
+
13  command encapsulates a single editing operation
+
14  that may be performed on a document. Each command
+
15  may be done or undone multiple times. The specialized
+
16  implementations for each type of operation are re-
+
17  sponsible for providing a means to return the model
+
18  to the prior state.
+
19 */
+
20 
+
21 #ifndef Command_h
+
22 #define Command_h
+
23 
+
24 #include "Text.h"
+
25 
+
26 // +--------------------------------------------------------------------+
+
27 
+
28 class MagicDoc;
+
29 class Solid;
+
30 class Model;
+
31 
+
32 // +--------------------------------------------------------------------+
+
33 
+
34 class Command
+
35 {
+
36 public:
+
37  static const char* TYPENAME() { return "Command"; }
+
38 
+
39  Command(const char* name, MagicDoc* document);
+
40  virtual ~Command();
+
41 
+
42  // operations
+
43  virtual void Do();
+
44  virtual void Undo();
+
45 
+
46  const char* Name() const { return name; }
+
47 
+
48 protected:
+ + +
51 };
+
52 
+
53 // +--------------------------------------------------------------------+
+
54 
+
55 #endif Command_h
+
+
+ + + + -- cgit v1.1