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:
31  {
32  CF_SELECTION = 1 << 31
33  };
34 
35  typedef QMap<QByteArray, const icomp::IRegistry::ElementInfo*> Elements;
36 
41  virtual icomp::IRegistry* GetSelectedRegistry() const = 0;
47  virtual Elements GetSelectedElements() const = 0;
48 };
49 
50 
51 } // namespace icmpstr
52 
53 
54 #endif // !icmpstr_IElementSelectionInfo_included
55 
56 
virtual Elements GetSelectedElements() const =0
Get set of selected elements.
QMap< QByteArray, const icomp::IRegistry::ElementInfo * > Elements
virtual icomp::IRegistry * GetSelectedRegistry() const =0
Get registry containing selected element.
Interface containing all information about registry selected element.

© 2007-2011 Witold Gantzke and Kirill Lepskiy