summaryrefslogtreecommitdiff
path: root/framework/inc/uielement/commandinfo.hxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-01-14 16:23:44 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-01-14 16:23:44 +0000
commitd60f1aca5769a5717a9a64d8e2f237a7bdb5cc71 (patch)
treed251133eb7f153ee4f9003592789df6b95b533c6 /framework/inc/uielement/commandinfo.hxx
parenta8339e9eb6b8da890501650df3a2cc658b721dba (diff)
INTEGRATION: CWS fwk79 (1.1.2); FILE ADDED
2007/12/13 08:41:24 pb 1.1.2.2: fix: #i84302# syntax error fixed (linux and solaris) 2007/12/07 08:28:55 cd 1.1.2.1: #i84302# New header file command info structure
Diffstat (limited to 'framework/inc/uielement/commandinfo.hxx')
-rw-r--r--framework/inc/uielement/commandinfo.hxx74
1 files changed, 74 insertions, 0 deletions
diff --git a/framework/inc/uielement/commandinfo.hxx b/framework/inc/uielement/commandinfo.hxx
new file mode 100644
index 000000000000..a607ed5ccafc
--- /dev/null
+++ b/framework/inc/uielement/commandinfo.hxx
@@ -0,0 +1,74 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: commandinfo.hxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: ihi $ $Date: 2008-01-14 17:23:44 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
+#ifndef __FRAMEWORK_UIELEMENT_COMMANDINFO_HXX_
+#define __FRAMEWORK_UIELEMENT_COMMANDINFO_HXX_
+
+//_________________________________________________________________________________________________________________
+// my own includes
+//_________________________________________________________________________________________________________________
+
+#include <macros/generic.hxx>
+#include <stdtypes.h>
+
+//_________________________________________________________________________________________________________________
+// other includes
+//_________________________________________________________________________________________________________________
+
+#include <tools/solar.h>
+
+namespace framework
+{
+
+struct CommandInfo
+{
+ CommandInfo() : nId( 0 ),
+ nImageInfo( 0 ),
+ bMirrored( false ),
+ bRotated( false ) {}
+
+ USHORT nId;
+ ::std::vector< USHORT > aIds;
+ sal_Int16 nImageInfo;
+ sal_Bool bMirrored : 1,
+ bRotated : 1;
+};
+
+typedef BaseHash< CommandInfo > CommandToInfoMap;
+
+} // namespace framework
+
+#endif // __FRAMEWORK_UIELEMENT_COMMANDINFO_HXX_
+