Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreNotification.h
Go to the documentation of this file.
1
7#ifndef __HDI_CORE_NOTIFICATION__
8#define __HDI_CORE_NOTIFICATION__
9
10#if defined(HDI_CORE_AIP_MODE)
11
12#include <vector>
13
14#include "hdicoreTypes.h"
15
16namespace hdi
17{
18 namespace core
19 {
20 class Message;
21 class Symbol;
22
27 {
28 public:
34 virtual ~Notification();
35
43 virtual NotifierType type() const;
44
45
46 protected:
50 void* _data;
51
58
65
72 };
73
78 {
79 public:
80 typedef std::vector< std::string > UUIDVector;
81
88
96 const UUIDVector* const addedArt() const;
97
105 const UUIDVector* const removedArt() const;
106
114 const UUIDVector* const changedArt() const;
115
116
117 private:
118 // Only NotifyMessage can construct an ArtObjectsChangedNotification object
119 friend class NotifyMessage;
120
127
134
141 };
142
147 {
148 public:
149 typedef std::vector< std::shared_ptr<Symbol> > SymbolVector;
150
157
165 SymbolVector addedSymbols() const;
166
174 SymbolVector removedSymbols() const;
175
183 SymbolVector changedSymbols() const;
184
192 SymbolVector renamedSymbols() const;
193
194
195 private:
196 // Only NotifyMessage can construct an ArtSymbolSetChangedNotification object
197 friend class NotifyMessage;
198
205
212
219 };
220 }
221}
222
223#endif
224// HDI_CORE_AIP_MODE
225
226#endif
227// __HDI_CORE_NOTIFICATION__
Received for ArtObjectsChangedNotifierType.
Definition: hdicoreNotification.h:78
const UUIDVector *const removedArt() const
Gets a vector containing the UUID of each removed piece of art.
const UUIDVector *const changedArt() const
Gets a vector containing the UUID of each changed piece of art.
const UUIDVector *const addedArt() const
Gets a vector containing the UUID of each added piece of art.
virtual ~ArtObjectsChangedNotification()
Destructs a ArtObjectsChangedNotification object.
Received for ArtSymbolSetChangedNotifierType.
Definition: hdicoreNotification.h:147
SymbolVector removedSymbols() const
Gets a vector containing each removed symbol.
SymbolVector renamedSymbols() const
Gets a vector containing each renamed symbol.
virtual ~ArtSymbolSetChangedNotification()
Destructs a ArtSymbolSetChangedNotification object.
SymbolVector changedSymbols() const
Gets a vector containing each changed symbol.
SymbolVector addedSymbols() const
Gets a vector containing each added symbol.
Base class for all *Notification subclasses.
Definition: hdicoreNotification.h:27
virtual ~Notification()
Destructs a Notification object.
virtual NotifierType type() const
Gets the type of notification data the target object represents.
Notification(const Notification &)
Unused.
Notification & operator=(const Notification &)
Unused.
void * _data
Stores private implementation data.
Definition: hdicoreNotification.h:50
Notification()
Internal use only.
Received for NotifyMessageType.
Definition: hdicoreMessage.h:2560
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
NotifierType
Describes the types of Illustrator notifiers for which subscriptions are available.
Definition: hdicoreTypes.h:1264