IElementSelectionInfo.h
Go to the documentation of this file.
1 #ifndef icmpstr_IElementSelectionInfo_included
2 #define icmpstr_IElementSelectionInfo_included
3 
4 
5 // Qt includes
6 #include <QtCore/QSet>
7 #include <QtGui/QIcon>
8 
9 // ACF includes
10 #include <istd/IChangeable.h>
11 
12 #include <iser/ISerializable.h>
13 
14 #include <icomp/IRegistry.h>
16 
17 #include <icmpstr/icmpstr.h>
18 
19 
20 namespace icmpstr
21 {
22 
23 
28 {
29 public:
34  {
35  CF_SELECTION = 0x282ce27
36  };
37 
38  typedef QMap<QByteArray, const icomp::IRegistry::ElementInfo*> Elements;
39 
44  virtual icomp::IRegistry* GetSelectedRegistry() const = 0;
50  virtual Elements GetSelectedElements() const = 0;
51 };
52 
53 
54 } // namespace icmpstr
55 
56 
57 #endif // !icmpstr_IElementSelectionInfo_included
58 
59 
virtual Elements GetSelectedElements() const =0
Get set of selected elements.
QMap< QByteArray, const icomp::IRegistry::ElementInfo * > Elements
ChangeFlags
Data model change notification flags.
virtual icomp::IRegistry * GetSelectedRegistry() const =0
Get registry containing selected element.
Interface containing all information about registry selected element.

© 2007-2017 Witold Gantzke and Kirill Lepskiy