convert line ends
[canaan.git] / prj / cam / src / sampprop.h
blob46b8066e83cb6fd82d373529fbcba6c4c19efc48
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/sampprop.h,v 1.2 2000/01/29 12:41:45 adurant Exp $
7 #pragma once
9 #ifndef SAMPPROP_H
10 #define SAMPPROP_H
11 #include <property.h>
14 // @INSTRUCTIONS: Rename this file to fooprop.h, change the #ifndef's at the
15 // top appropriately.
20 // @INSTRUCTIONS: PROPERTY INTERFACE
21 // Decide if your property needs a new interface.
22 // If it doesn't (and most shouldn't), delete the
23 // Property instance declarations below, and skip
24 // To the "instance" stuff below.
27 // @INSTRUCTIONS: For clarity, delete instructions after you follow them.
30 //------------------------------------------------------------
31 // PROPERTY INTERFACE
35 // @INSTRUCTIONS: Replace "Sample" and "SAMPLE" with an appropriate name for
36 // your property interface, and "SampType" with the
37 // name of your property's value type. Change all
40 F_DECLARE_INTERFACE(ISampleProperty);
41 #undef INTERFACE
42 #define INTERFACE ISampleProperty
46 // @INSTRUCTIONS: If your interface is a "complex" interface,
47 // change DELCARE_SIMPLE_INTERFACE to DECLARE_COMPLEX_INTERFACE
50 DECLARE_SIMPLE_PROPERTY(SampType,Sample);
51 DECLARE_CREATOR(Sample);
53 // @INSTRUCTIONS: Grab a GUID for your interface and put it in
54 // propguids.c
56 //------------------------------------------------------------
57 // PROPERTY INSTANCE
61 // @Instructions replace "Sample" with an appropriate unique
62 // name for your property. Change ISampleProperty to the
63 // interface your property uses (whether it's a new interface
64 // or an old one), and cSampleProperty to the corresponding class.
66 #define PROP_SAMPLE_NAME "Sample"
67 // @INSTRUCTIONS: put a call to this in initialization code somewhere.
68 EXTERN void SamplePropInit(void);
73 #endif // SAMPPROP_H