/usr/include/ossim/plugin/ossimSharedObjectBridge.h is in libossim-dev 1.7.21-3ubuntu2.
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 35 36 37 38 39 40 41 42 43 44 45 46 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts (gpotts@imagelinks)
//
//*************************************************************************
// $Id: ossimSharedObjectBridge.h 12048 2007-11-15 15:45:35Z gpotts $
#ifndef ossimSharedObjectBridge_HEADER
#define ossimSharedObjectBridge_HEADER
#include <vector>
#include <ossim/base/ossimObject.h>
#include <ossim/base/ossimConstants.h>
extern "C"
{
typedef const char* (*ossimSharedLibraryGetDescriptionPtr)();
typedef int (*ossimSharedLibraryGetNumberOfClassNamesPtr)();
typedef const char* (*ossimSharedLibraryGetClassNamesPtr)(int idx);
typedef const char* (*ossimSharedLibraryGetIdPtr())();
typedef const char* (*ossimSharedLibraryGetOssimVersionStringPtr())();
typedef void (*ossimSharedLibraryRegisterPluginPtr())();
struct OSSIMDLLEXPORT ossimSharedObjectInfo
{
ossimSharedLibraryGetDescriptionPtr getDescription;
ossimSharedLibraryGetNumberOfClassNamesPtr getNumberOfClassNames;
ossimSharedLibraryGetClassNamesPtr getClassName;
/* ossimSharedLibraryGetId getId; */
/* ossimSharedLibraryGetOssimVersionString getOssimVersion; */
/* ossimSharedLibraryRegisterPluginPtr registerPlugin; */
};
typedef void (*ossimSharedLibraryInitializePtr)(ossimSharedObjectInfo** info);
typedef void (*ossimSharedLibraryFinalizePtr)();
/*
* these need to define these in your plugin. They are only here for clairity
*
* extern void ossimSharedLibraryInitialize(ossimSharedObjectInfo** info);
* extern void ossimSharedLibraryFinalize();
*/
}
#endif
|