0024002: Overall code and build procedure refactoring -- automatic
[occt.git] / src / XDEDRAW / XDEDRAW.hxx
CommitLineData
42cf5bc1 1// Created on: 2000-10-23
2// Created by: Pavel TELKOV
3// Copyright (c) 2000-2014 OPEN CASCADE SAS
4//
5// This file is part of Open CASCADE Technology software library.
6//
7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
12//
13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
15
16#ifndef _XDEDRAW_HeaderFile
17#define _XDEDRAW_HeaderFile
18
19#include <Standard.hxx>
20#include <Standard_DefineAlloc.hxx>
21#include <Standard_Handle.hxx>
22
23#include <Draw_Interpretor.hxx>
24class XDEDRAW_Shapes;
25class XDEDRAW_Colors;
26class XDEDRAW_Layers;
27class XDEDRAW_Props;
28class XDEDRAW_Common;
29
30
31//! Provides DRAW commands for work with DECAF data structures
32class XDEDRAW
33{
34public:
35
36 DEFINE_STANDARD_ALLOC
37
38
39 //! Provides common commands for work XDE
40 //! Initializes all the functions
41 Standard_EXPORT static void Init (Draw_Interpretor& di);
42
43 //! Loads all Draw commands of TKXDEDRAW. Used for plugin.
44 Standard_EXPORT static void Factory (Draw_Interpretor& theDI);
45
46
47
48
49protected:
50
51
52
53
54
55private:
56
57
58
59
60friend class XDEDRAW_Shapes;
61friend class XDEDRAW_Colors;
62friend class XDEDRAW_Layers;
63friend class XDEDRAW_Props;
64friend class XDEDRAW_Common;
65
66};
67
68
69
70
71
72
73
74#endif // _XDEDRAW_HeaderFile