Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxProfileManager.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 CFxProfileManager : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public CFxProfileManager(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(CFxProfileManager obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 lock(this) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
44 if (swigCMemOwn) {
45 swigCMemOwn = false;
47 }
48 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
49 }
50 }
51 }
52
53 public virtual void ProfileRegistryKey(CFxString strRegProfileKey, CFxString strProfileName) {
56 }
57
61 return ret;
62 }
63
64 public virtual int ProfileExport(CFxString strProfileName, CFxString exportFileName) {
65 int ret = PCADGlobalsPINVOKE.CFxProfileManager_ProfileExport(swigCPtr, CFxString.getCPtr(strProfileName), CFxString.getCPtr(exportFileName));
67 return ret;
68 }
69
70 public virtual int ProfileImport(CFxString strProfileName, CFxString importFileName, CFxString profileDescription, bool bImportPathInfo) {
71 int ret = PCADGlobalsPINVOKE.CFxProfileManager_ProfileImport(swigCPtr, CFxString.getCPtr(strProfileName), CFxString.getCPtr(importFileName), CFxString.getCPtr(profileDescription), bImportPathInfo);
73 return ret;
74 }
75
76 public virtual int ProfileDelete(CFxString strProfileName) {
77 int ret = PCADGlobalsPINVOKE.CFxProfileManager_ProfileDelete(swigCPtr, CFxString.getCPtr(strProfileName));
79 return ret;
80 }
81
82 public virtual int ProfileReset(CFxString strProfileName) {
83 int ret = PCADGlobalsPINVOKE.CFxProfileManager_ProfileReset(swigCPtr, CFxString.getCPtr(strProfileName));
85 return ret;
86 }
87
88 public virtual int ProfileSetCurrent(CFxString strProfileName) {
91 return ret;
92 }
93
94 public virtual CFxProfile ProfileGetCurrent() {
95 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxProfileManager_ProfileGetCurrent(swigCPtr);
96 CFxProfile ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxProfile(cPtr, false);
98 return ret;
99 }
100
101 public virtual CFxProfile ProfileGetFixed() {
102 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxProfileManager_ProfileGetFixed(swigCPtr);
103 CFxProfile ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxProfile(cPtr, false);
105 return ret;
106 }
107
108 public virtual CFxProfile ProfileGet(CFxString strProfileName) {
109 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxProfileManager_ProfileGet(swigCPtr, CFxString.getCPtr(strProfileName));
110 CFxProfile ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxProfile(cPtr, false);
112 return ret;
113 }
114
115 public virtual int ProfileCopy(CFxString newProfileName, CFxString oldProfileName, CFxString newProfileDesc) {
116 int ret = PCADGlobalsPINVOKE.CFxProfileManager_ProfileCopy(swigCPtr, CFxString.getCPtr(newProfileName), CFxString.getCPtr(oldProfileName), CFxString.getCPtr(newProfileDesc));
118 return ret;
119 }
120
121 public virtual int ProfileRename(CFxString newProfileName, CFxString oldProfileName, CFxString newProfileDesc) {
122 int ret = PCADGlobalsPINVOKE.CFxProfileManager_ProfileRename(swigCPtr, CFxString.getCPtr(newProfileName), CFxString.getCPtr(oldProfileName), CFxString.getCPtr(newProfileDesc));
124 return ret;
125 }
126
127 public virtual int ProfileSave(CFxString profileName) {
128 int ret = PCADGlobalsPINVOKE.CFxProfileManager_ProfileSave(swigCPtr, CFxString.getCPtr(profileName));
130 return ret;
131 }
132
133 public virtual void addReactor(CFxProfileManagerReactor arg0) {
136 }
137
138 public virtual void removeReactor(CFxProfileManagerReactor arg0) {
141 }
142
143}
144
145}
virtual int ProfileSave(CFxString profileName)
virtual int ProfileExport(CFxString strProfileName, CFxString exportFileName)
virtual CFxProfile ProfileGet(CFxString strProfileName)
virtual int ProfileRename(CFxString newProfileName, CFxString oldProfileName, CFxString newProfileDesc)
virtual CFxProfile ProfileGetCurrent()
virtual int ProfileReset(CFxString strProfileName)
CFxProfileManager(IntPtr cPtr, bool cMemoryOwn)
virtual void removeReactor(CFxProfileManagerReactor arg0)
virtual int ProfileListNames(SWIGTYPE_p_OdArrayT_CFxString_OdObjectsAllocatorT_CFxString_t_t nameList)
virtual void ProfileRegistryKey(CFxString strRegProfileKey, CFxString strProfileName)
virtual int ProfileSetCurrent(CFxString strProfileName)
virtual int ProfileDelete(CFxString strProfileName)
virtual CFxProfile ProfileGetFixed()
static HandleRef getCPtr(CFxProfileManager obj)
virtual int ProfileImport(CFxString strProfileName, CFxString importFileName, CFxString profileDescription, bool bImportPathInfo)
virtual int ProfileCopy(CFxString newProfileName, CFxString oldProfileName, CFxString newProfileDesc)
virtual void addReactor(CFxProfileManagerReactor arg0)
virtual void Dispose(bool disposing)
static HandleRef getCPtr(CFxProfileManagerReactor obj)
static HandleRef getCPtr(CFxString obj)
Definition: CFxString.cs:28
static int CFxProfileManager_ProfileExport(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void CFxProfileManager_addReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int CFxProfileManager_ProfileCopy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr CFxProfileManager_ProfileGetCurrent(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxProfileManager_ProfileDelete(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int CFxProfileManager_ProfileListNames(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxProfileManager_removeReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int CFxProfileManager_ProfileSave(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxProfileManager_ProfileGet(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_CFxProfileManager(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxProfileManager_ProfileRename(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int CFxProfileManager_ProfileImport(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5)
static void CFxProfileManager_ProfileRegistryKey(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr CFxProfileManager_ProfileGetFixed(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxProfileManager_ProfileSetCurrent(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int CFxProfileManager_ProfileReset(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)