AndroMeta  2.0.0
AndroMeta/include/AndroMeta/MLibBase.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2009-2012 AndroMeta LLC. All rights reserved.
00003  *
00004  * AndroMeta LLC retains all intellectual property and proprietary 
00005  * rights to this software and related documentation and any modifications 
00006  * thereto.  Any use, reproduction, disclosure, or distribution of this 
00007  * software and related documentation without an express license agreement 
00008  * from AndroMeta LLC is strictly prohibited.
00009  * 
00010  */
00011 
00019 #ifndef ANDROMETA_M_LIB_BASE_H
00020 #define ANDROMETA_M_LIB_BASE_H
00021 
00022 #include <AndroMeta/MObject.h>
00023 
00024 namespace Meta{
00025   
00040   class MLibBase : public MObject{
00041   public:
00042     
00046     MLibBase();
00047     
00051     virtual ~MLibBase();
00052     
00060     void exportFunction(const mstr& f, size_t args);
00061     
00072     void exportFunction(const mstr& f, size_t minArgs, size_t maxArgs);
00073     
00079     mnode importFunctions(void* scope, mnode fs);
00080     
00081   private:
00082     MLibBase& operator=(const MLibBase&);
00083     MLibBase(const MLibBase&);
00084     
00085     class MLibBase_* x_;
00086   };
00087   
00088 } // end namespace Meta
00089 
00090 #endif // ANDROMETA_M_LIB_BASE_H