Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

vos/gui/gui/input_file.hh

Go to the documentation of this file.
00001 /* $Id: input_file.hh,v 1.4 2003/07/24 05:18:26 tetron Exp $ */
00002 
00003 /*  Copyright (C) 2003 Reed Hedges <reed@interreality.org>
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Lesser General Public
00007     License as published by the Free Software Foundation; either
00008     version 2 of the License, or (at your option) any later version.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Lesser General Public License for more details.
00014 
00015     You should have received a copy of the GNU Lesser General Public
00016     License along with this library; if not, write to the Free Software
00017     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00018 
00019 */
00020 
00021 #ifndef _GUI_INPUT_FILE_HH_
00022 #define _GUI_INPUT_FILE_HH_
00023 
00024 #if defined(_WIN32) && defined(_MSC_VER)
00025 # ifdef VOSGUI_EXPORTS
00026 #  define VOSGUI_API __declspec(dllexport)
00027 # else
00028 #  define VOSGUI_API __declspec(dllimport)
00029 # endif
00030 #else
00031 # define VOSGUI_API
00032 #endif
00033 
00034 #include <vos/corelibs/vos/vos.hh>
00035 #include <vos/metaobjects/property/property.hh>
00036 #include <vos/gui/gui/widget.hh>
00037 #include <vos/gui/gui/input.hh>
00038 
00039 namespace VOSGUI {
00040 
00041 /** MetaObject implementing FileInput Object Type. */
00042 
00043 class VOSGUI_API FileInput : public virtual Input {
00044 
00045 public:
00046 
00047     /** Constructor */
00048     FileInput(MetaObject* superobject);
00049 
00050     /** Destructor */
00051     virtual ~FileInput();
00052 
00053     /** Return type string ("gui:widget.input.file") */
00054     virtual const string getType();
00055 
00056     /** Register Extenders */
00057     static void registerExtenders();
00058 
00059 };
00060 
00061 /** Local version of FileInput. */
00062 
00063 class VOSGUI_API LocalFileInput : public virtual FileInput, public virtual LocalInput {
00064 
00065 public:
00066 
00067     /** Constructor */
00068     LocalFileInput(MetaObject* superobject);
00069 
00070     /** Destructor */
00071     ~LocalFileInput();
00072 
00073     /** Static generator, for site factory. */
00074     static MetaObject* new_LocalFileInput(MetaObject* superobject, const string& type);
00075 
00076 };
00077 
00078 /** Remote proxy for FileInput */
00079 
00080 class VOSGUI_API RemoteFileInput : public virtual FileInput, public virtual RemoteInput {
00081 
00082 public:
00083 
00084     /** Constructor */
00085     RemoteFileInput(MetaObject* superobject);
00086 
00087     /** Destructor */
00088     virtual ~RemoteFileInput();
00089 
00090     /** Static generator, for factory. */
00091     static MetaObject* new_RemoteFileInput(MetaObject* superobject, const string& type);
00092 
00093 };
00094 
00095 
00096 } // end of namespace VOSGUI
00097 #endif // #ifndef _GUI_INPUT_HH_
00098 

Generated on Tue Aug 12 03:55:43 2003 for Interreality Project - VOS by doxygen 1.3.2