/usr/include/ossim/base/ossimStateChangedEvent.h is in libossim-dev 2.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #ifndef ossimStateChangedEvent_HEADER
#define ossimStateChangedEvent_HEADER
#include <string>
#include <ossim/base/ossimEvent.h>
#include <ossim/base/ossimEventIds.h>
#include <ossim/base/ossimKeywordlist.h>
#include <ossim/base/ossimString.h>
class OSSIMDLLEXPORT ossimStateChangedEvent : public ossimEvent
{
public:
ossimStateChangedEvent( ossimObject* object=NULL,
long id=OSSIM_EVENT_STATE_CHANGED_ID );
void setObjId( std::string objId );
void setNewKeywordlist( ossimKeywordlist kwl );
void setOldKeywordlist( ossimKeywordlist kwl );
std::string getObjId();
ossimKeywordlist getNewKeywordlist();
ossimKeywordlist getOldKeywordlist();
// HACK - Need to set keywordlists too!!!
virtual ossimObject* dup()const{return new ossimStateChangedEvent(*this);}
private:
std::string theObjId;
ossimKeywordlist theNewKeywordlist;
ossimKeywordlist theOldKeywordlist;
};
#endif
|