Click here to Skip to main content
15,896,348 members
Articles / Programming Languages / C++

DynObj - C++ Cross Platform Plugin Objects

Rate me:
Please Sign up or sign in to vote.
4.95/5 (34 votes)
27 Sep 200727 min read 146.9K   3.4K   132  
DynObj is an open source library that provides a C++ application with run-time class loading facilities
// Copyright (c) 2007, Arne Steinarson
// Licensing for DynObj project - see DynObj-license.txt in this folder

#ifndef DORT_INT_H
#define DORT_INT_H

// %%DYNOBJ section general
// This section is auto-generated and manual changes will be lost when regenerated!!
#ifdef DO_IMPLEMENT_DORTINT
    #define DO_IMPLEMENTING     // If app has not defined it already
#endif
#include "dynobj/DynObj.h"

// --- Integer type ids for defined interfaces/classes ---

// --- Forward class declarations ---
struct DortInternalI;

// --- For each declared class, doTypeInfo template specializations ---
DO_DECL_TYPE_INFO(DortInternalI,DORTINTERNALI_TYPE_ID);

// %%DYNOBJ section end

// %% DYNOBJ class(vobj) flags(notypeid)
struct DortInternalI {
    virtual void docall OnObjectDestroy( DynObj *pdo ) = 0;
    virtual void docall TempDisableCreate( bool disable ) = 0;
};

// %%DYNOBJ section implement
// This section is auto-generated and manual changes will be lost when regenerated!!
#ifdef DO_IMPLEMENT_DORTINT

// Generate type information that auto-registers on module load
DynObjType g_do_vtype_DortInternalI("DortInternalI:VObj",DORTINTERNALI_TYPE_ID,1,sizeof(DortInternalI));
#endif //DO_IMPLEMENT_...
// %%DYNOBJ section end

#endif // DORT_INT_H 

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions