convert line ends
[canaan.git] / prj / cam / src / object / edittool.h
blobe08273322d7d8218a80191319cbc9dfa221d540b
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/object/edittool.h,v 1.2 1997/10/16 18:19:00 mahk Exp $
7 #pragma once
8 #ifndef __EDITTOOL_H
9 #define __EDITTOOL_H
11 #include <comtools.h>
12 #include <objtype.h>
14 ////////////////////////////////////////////////////////////
15 // EDITOR TOOLS COMPONENT
17 // This aggregate member provides useful editing interfaces to DLLs that want them.
20 F_DECLARE_INTERFACE(IEditTools);
22 #undef INTERFACE
23 #define INTERFACE IEditTools
25 DECLARE_INTERFACE_(IEditTools,IUnknown)
27 DECLARE_UNKNOWN_PURE();
30 // Get a human-readable name for an object
32 STDMETHOD_(const char*,ObjName)(THIS_ ObjID obj) PURE;
35 // Parse an object by name
37 STDMETHOD_(ObjID,GetObjNamed)(THIS_ const char* name) PURE;
40 // Edit an object with a registered type name
42 STDMETHOD(EditTypedData)(THIS_ const char* title, const char* type, void* data) PURE;
46 #undef INTERFACE
49 // Factory
52 EXTERN void EditToolsCreate(void);
57 #endif // __EDITTOOL_H