Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxAppInfo.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class CFxAppInfo : OdRxObject {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public CFxAppInfo(IntPtr cPtr, bool cMemoryOwn) : base(PCADGlobalsPINVOKE.CFxAppInfo_SWIGUpcast(cPtr), cMemoryOwn) {
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(CFxAppInfo obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 protected override void Dispose(bool disposing) {
32 lock(this) {
33 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
34 if (swigCMemOwn) {
35 swigCMemOwn = false;
37 }
38 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
39 }
40 base.Dispose(disposing);
41 }
42 }
43
47 return ret;
48 }
49
50 public new static OdRxClass desc() {
51 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxAppInfo_desc(),false); /*createInt 3_2*/
52
54 return ret;
55}
56
57 public override OdRxClass isA() {
58 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxAppInfo_isA(swigCPtr),false); /*createInt 3_2*/
59
61 return ret;
62}
63
64 public override OdRxObject queryX(OdRxClass protocolClass) {
65 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),PCADGlobalsPINVOKE.CFxAppInfo_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
66
68 return ret;
69}
70
74 return ret;
75 }
76
80 return ret;
81 }
82
83 public virtual void SetType(CFxAppInfo.ApplicationType type) {
84 PCADGlobalsPINVOKE.CFxAppInfo_SetType(swigCPtr, (int)type);
86 }
87
91 return ret;
92 }
93
94 public virtual void SetLoadReasons(CFxAppInfo.LoadReasons reasons) {
95 PCADGlobalsPINVOKE.CFxAppInfo_SetLoadReasons(swigCPtr, (int)reasons);
97 }
98
99 public virtual CFxString GetFileName() {
102 return ret;
103 }
104
105 public virtual void SetFileName(CFxString strName) {
108 }
109
110 public virtual CFxString GetAppName() {
113 return ret;
114 }
115
116 public virtual void SetAppName(CFxString strName) {
119 }
120
121 public virtual CFxString GetAppDesc() {
124 return ret;
125 }
126
127 public virtual void SetAppDesc(CFxString strName) {
130 }
131
132 public virtual void SetManaged(bool bManaged) {
133 PCADGlobalsPINVOKE.CFxAppInfo_SetManaged(swigCPtr, bManaged);
135 }
136
137 public virtual bool IsManaged() {
138 bool ret = PCADGlobalsPINVOKE.CFxAppInfo_IsManaged(swigCPtr);
140 return ret;
141 }
142
143 public virtual bool Load(CFxSettings settings, CFxString strKey) {
144 bool ret = PCADGlobalsPINVOKE.CFxAppInfo_Load(swigCPtr, CFxSettings.getCPtr(settings), CFxString.getCPtr(strKey));
146 return ret;
147 }
148
149 public virtual bool Save(CFxSettings settings, CFxString strKey) {
150 bool ret = PCADGlobalsPINVOKE.CFxAppInfo_Save(swigCPtr, CFxSettings.getCPtr(settings), CFxString.getCPtr(strKey));
152 return ret;
153 }
154
155 public virtual void SetGlobalCommandNames(CFxStringArray names) {
158 }
159
160 public virtual void GetGlobalCommandNames(CFxStringArray names) {
163 }
164
165 public virtual void SetLocalCommandNames(CFxStringArray names) {
168 }
169
170 public virtual void GetLocalCommandNames(CFxStringArray names) {
173 }
174
175 public virtual void SetGroupNames(CFxStringArray names) {
178 }
179
180 public virtual void GetGroupNames(CFxStringArray names) {
183 }
184
185 public virtual CFxAppInfo.Status GetStatus() {
188 return ret;
189 }
190
191 public enum ApplicationType {
192 eUnknown = 0x0,
193 eARX = 0x1,
194 eLISP = 0x2,
195 eDLL = 0x4,
196 eDRX = 0x8,
198 }
199
200 public enum LoadReasons {
201 eOnProxyDetection = 0x1,
204 eOnLoadRequest = 0x8,
205 eLoadDisabled = 0x10,
207 }
208
209 public enum Status {
210 eUnloaded = 0x1,
211 eLoaded = 0x2,
212 eNotFound = 0x3,
213 eError = 0x4,
214 eAlreadyLoaded = 0x5
215 }
216
217}
218
219}
virtual void GetLocalCommandNames(CFxStringArray names)
Definition: CFxAppInfo.cs:170
virtual void SetAppName(CFxString strName)
Definition: CFxAppInfo.cs:116
virtual void SetGroupNames(CFxStringArray names)
Definition: CFxAppInfo.cs:175
virtual void GetGlobalCommandNames(CFxStringArray names)
Definition: CFxAppInfo.cs:160
virtual void SetType(CFxAppInfo.ApplicationType type)
Definition: CFxAppInfo.cs:83
static HandleRef getCPtr(CFxAppInfo obj)
Definition: CFxAppInfo.cs:27
virtual void SetAppDesc(CFxString strName)
Definition: CFxAppInfo.cs:127
virtual CFxString GetFileName()
Definition: CFxAppInfo.cs:99
static SWIGTYPE_p_OdSmartPtrT_CFxAppInfo_t createObject()
Definition: CFxAppInfo.cs:71
static SWIGTYPE_p_OdSmartPtrT_CFxAppInfo_t cast(OdRxObject pObj)
Definition: CFxAppInfo.cs:44
override OdRxClass isA()
Definition: CFxAppInfo.cs:57
static new OdRxClass desc()
Definition: CFxAppInfo.cs:50
override OdRxObject queryX(OdRxClass protocolClass)
Definition: CFxAppInfo.cs:64
virtual bool Save(CFxSettings settings, CFxString strKey)
Definition: CFxAppInfo.cs:149
virtual CFxAppInfo.LoadReasons GetLoadReasons()
Definition: CFxAppInfo.cs:88
virtual CFxString GetAppDesc()
Definition: CFxAppInfo.cs:121
virtual CFxString GetAppName()
Definition: CFxAppInfo.cs:110
virtual void SetManaged(bool bManaged)
Definition: CFxAppInfo.cs:132
virtual bool Load(CFxSettings settings, CFxString strKey)
Definition: CFxAppInfo.cs:143
virtual CFxAppInfo.ApplicationType GetType()
Definition: CFxAppInfo.cs:77
virtual void SetGlobalCommandNames(CFxStringArray names)
Definition: CFxAppInfo.cs:155
CFxAppInfo(IntPtr cPtr, bool cMemoryOwn)
Definition: CFxAppInfo.cs:22
virtual bool IsManaged()
Definition: CFxAppInfo.cs:137
virtual CFxAppInfo.Status GetStatus()
Definition: CFxAppInfo.cs:185
virtual void GetGroupNames(CFxStringArray names)
Definition: CFxAppInfo.cs:180
virtual void SetLocalCommandNames(CFxStringArray names)
Definition: CFxAppInfo.cs:165
virtual void SetLoadReasons(CFxAppInfo.LoadReasons reasons)
Definition: CFxAppInfo.cs:94
virtual void SetFileName(CFxString strName)
Definition: CFxAppInfo.cs:105
override void Dispose(bool disposing)
Definition: CFxAppInfo.cs:31
static HandleRef getCPtr(CFxSettings obj)
Definition: CFxSettings.cs:28
static HandleRef getCPtr(CFxStringArray obj)
static HandleRef getCPtr(CFxString obj)
Definition: CFxString.cs:28
static void CFxAppInfo_SetGroupNames(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool CFxAppInfo_Save(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int CFxAppInfo_GetStatus(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxAppInfo_createObject()
static global::System.IntPtr CFxAppInfo_cast(HandleRef jarg1)
static IntPtr CFxAppInfo_queryX(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void CFxAppInfo_SetFileName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxAppInfo_SetAppName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxAppInfo_GetGlobalCommandNames(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool CFxAppInfo_Load(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void CFxAppInfo_SetManaged(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void CFxAppInfo_GetGroupNames(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxAppInfo_GetAppDesc(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxAppInfo_SetLocalCommandNames(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_CFxAppInfo(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxAppInfo_isA(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxAppInfo_GetLoadReasons(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxAppInfo_SetAppDesc(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool CFxAppInfo_IsManaged(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxAppInfo_SetGlobalCommandNames(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxAppInfo_SetType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr CFxAppInfo_GetFileName(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxAppInfo_SetLoadReasons(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void CFxAppInfo_GetLocalCommandNames(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxAppInfo_GetAppName(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxAppInfo_GetType(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26