diff options
Diffstat (limited to 'linden/indra/llui/lleditmenuhandler.cpp')
-rw-r--r-- | linden/indra/llui/lleditmenuhandler.cpp | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/linden/indra/llui/lleditmenuhandler.cpp b/linden/indra/llui/lleditmenuhandler.cpp new file mode 100644 index 0000000..7425aa8 --- /dev/null +++ b/linden/indra/llui/lleditmenuhandler.cpp | |||
@@ -0,0 +1,126 @@ | |||
1 | /** | ||
2 | * @file lleditmenuhandler.cpp | ||
3 | * @authors Aaron Yonas, James Cook | ||
4 | * | ||
5 | * Copyright (c) 2006-2007, Linden Research, Inc. | ||
6 | * | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | ||
8 | * to you under the terms of the GNU General Public License, version 2.0 | ||
9 | * ("GPL"), unless you have obtained a separate licensing agreement | ||
10 | * ("Other License"), formally executed by you and Linden Lab. Terms of | ||
11 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | ||
12 | * online at http://secondlife.com/developers/opensource/gplv2 | ||
13 | * | ||
14 | * There are special exceptions to the terms and conditions of the GPL as | ||
15 | * it is applied to this Source Code. View the full text of the exception | ||
16 | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
17 | * online at http://secondlife.com/developers/opensource/flossexception | ||
18 | * | ||
19 | * By copying, modifying or distributing this software, you acknowledge | ||
20 | * that you have read and understood your obligations described above, | ||
21 | * and agree to abide by those obligations. | ||
22 | * | ||
23 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
24 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
25 | * COMPLETENESS OR PERFORMANCE. | ||
26 | */ | ||
27 | |||
28 | #include "stdtypes.h" | ||
29 | |||
30 | #include "lleditmenuhandler.h" | ||
31 | |||
32 | LLEditMenuHandler* gEditMenuHandler = NULL; | ||
33 | |||
34 | // virtual | ||
35 | LLEditMenuHandler::~LLEditMenuHandler() | ||
36 | { } | ||
37 | |||
38 | // virtual | ||
39 | void LLEditMenuHandler::undo() | ||
40 | { } | ||
41 | |||
42 | // virtual | ||
43 | BOOL LLEditMenuHandler::canUndo() | ||
44 | { | ||
45 | return FALSE; | ||
46 | } | ||
47 | |||
48 | // virtual | ||
49 | void LLEditMenuHandler::redo() | ||
50 | { } | ||
51 | |||
52 | // virtual | ||
53 | BOOL LLEditMenuHandler::canRedo() | ||
54 | { | ||
55 | return FALSE; | ||
56 | } | ||
57 | |||
58 | // virtual | ||
59 | void LLEditMenuHandler::cut() | ||
60 | { } | ||
61 | |||
62 | // virtual | ||
63 | BOOL LLEditMenuHandler::canCut() | ||
64 | { | ||
65 | return FALSE; | ||
66 | } | ||
67 | |||
68 | // virtual | ||
69 | void LLEditMenuHandler::copy() | ||
70 | { } | ||
71 | |||
72 | // virtual | ||
73 | BOOL LLEditMenuHandler::canCopy() | ||
74 | { | ||
75 | return FALSE; | ||
76 | } | ||
77 | |||
78 | // virtual | ||
79 | void LLEditMenuHandler::paste() | ||
80 | { } | ||
81 | |||
82 | // virtual | ||
83 | BOOL LLEditMenuHandler::canPaste() | ||
84 | { | ||
85 | return FALSE; | ||
86 | } | ||
87 | |||
88 | // virtual | ||
89 | void LLEditMenuHandler::doDelete() | ||
90 | { } | ||
91 | |||
92 | // virtual | ||
93 | BOOL LLEditMenuHandler::canDoDelete() | ||
94 | { | ||
95 | return FALSE; | ||
96 | } | ||
97 | |||
98 | // virtual | ||
99 | void LLEditMenuHandler::selectAll() | ||
100 | { } | ||
101 | |||
102 | // virtual | ||
103 | BOOL LLEditMenuHandler::canSelectAll() | ||
104 | { | ||
105 | return FALSE; | ||
106 | } | ||
107 | |||
108 | // virtual | ||
109 | void LLEditMenuHandler::deselect() | ||
110 | { } | ||
111 | |||
112 | // virtual | ||
113 | BOOL LLEditMenuHandler::canDeselect() | ||
114 | { | ||
115 | return FALSE; | ||
116 | } | ||
117 | |||
118 | // virtual | ||
119 | void LLEditMenuHandler::duplicate() | ||
120 | { } | ||
121 | |||
122 | // virtual | ||
123 | BOOL LLEditMenuHandler::canDuplicate() | ||
124 | { | ||
125 | return FALSE; | ||
126 | } | ||