Planeshift
meshattach.h
Go to the documentation of this file.
1 /*
2  * meshattach.h - Author: Andrew Craig <andrew@hydlaa.com>
3  *
4  * Copyright (C) 2008 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
5  *
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation (version 2 of the License)
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17  *
18  */
19  #ifndef MESHATTACH_HEADER
20  #define MESHATTACH_HEADER
21 
22 //=============================================================================
23 // Crystal Space Includes
24 //=============================================================================
25 
26 #include <csutil/csobject.h>
27 
28 //=============================================================================
29 // Project Includes
30 //=============================================================================
31 
32 //=============================================================================
33 // Local Includes
34 //=============================================================================
35 
36 //=============================================================================
37 // Forward Declarations
38 //=============================================================================
39 class GEMClientObject;
40 
44 class psGemMeshAttach : public scfImplementationExt1<psGemMeshAttach,
45  csObject,
46  scfFakeInterface<psGemMeshAttach> >
47 {
48 public:
49  SCF_INTERFACE (psGemMeshAttach, 0, 0, 1);
50 
52  GEMClientObject* GetObject () const { return object; }
53 
54 protected:
55 
56 private:
57 
58  GEMClientObject* object;
59 };
60 
61 #endif
SCF_INTERFACE(psGemMeshAttach, 0, 0, 1)
psGemMeshAttach(GEMClientObject *object)
Helper class to attach a PlaneShift GEM object to a particular mesh.
Definition: meshattach.h:44
An object that the client knows about.
Definition: pscelclient.h:373
GEMClientObject * GetObject() const
Definition: meshattach.h:52