MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / WatcherWithUserData

Class WatcherWithUserData

scintilla/src/Document.h:201–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199public:
200 /** Used to pair watcher pointer with user data. */
201 struct WatcherWithUserData {
202 DocWatcher *watcher;
203 void *userData;
204 WatcherWithUserData(DocWatcher *watcher_=0, void *userData_=0) :
205 watcher(watcher_), userData(userData_) {
206 }
207 bool operator==(const WatcherWithUserData &other) {
208 return (watcher == other.watcher) && (userData == other.userData);
209 }
210 };
211
212private:
213 int refCount;

Callers 1

RemoveWatcherMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected