LinuxAP : add new plugin
[vuplus_dvbapp] / lib / python / Plugins / SystemPlugins / WirelessAccessPoint / wirelessap.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 1.3.39
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 # This file is compatible with both classic and new-style classes.
7
8 from sys import version_info
9 if version_info >= (2,6,0):
10     def swig_import_helper():
11         from os.path import dirname
12         import imp
13         fp = None
14         try:
15             fp, pathname, description = imp.find_module('_wirelessap', [dirname(__file__)])
16         except ImportError:
17             import _wirelessap
18             return _wirelessap
19         if fp is not None:
20             try:
21                 _mod = imp.load_module('_wirelessap', fp, pathname, description)
22             finally:
23                 fp.close()
24                 return _mod
25     _wirelessap = swig_import_helper()
26     del swig_import_helper
27 else:
28     import _wirelessap
29 del version_info
30 try:
31     _swig_property = property
32 except NameError:
33     pass # Python < 2.2 doesn't have 'property'.
34 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
35     if (name == "thisown"): return self.this.own(value)
36     if (name == "this"):
37         if type(value).__name__ == 'SwigPyObject':
38             self.__dict__[name] = value
39             return
40     method = class_type.__swig_setmethods__.get(name,None)
41     if method: return method(self,value)
42     if (not static) or hasattr(self,name):
43         self.__dict__[name] = value
44     else:
45         raise AttributeError("You cannot add attributes to %s" % self)
46
47 def _swig_setattr(self,class_type,name,value):
48     return _swig_setattr_nondynamic(self,class_type,name,value,0)
49
50 def _swig_getattr(self,class_type,name):
51     if (name == "thisown"): return self.this.own()
52     method = class_type.__swig_getmethods__.get(name,None)
53     if method: return method(self)
54     raise AttributeError(name)
55
56 def _swig_repr(self):
57     try: strthis = "proxy of " + self.this.__repr__()
58     except: strthis = ""
59     return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
60
61 try:
62     _object = object
63     _newclass = 1
64 except AttributeError:
65     class _object : pass
66     _newclass = 0
67
68
69 class wirelessAP(_object):
70     __swig_setmethods__ = {}
71     __setattr__ = lambda self, name, value: _swig_setattr(self, wirelessAP, name, value)
72     __swig_getmethods__ = {}
73     __getattr__ = lambda self, name: _swig_getattr(self, wirelessAP, name)
74     __repr__ = _swig_repr
75     def __init__(self): 
76         this = _wirelessap.new_wirelessAP()
77         try: self.this.append(this)
78         except: self.this = this
79     __swig_destroy__ = _wirelessap.delete_wirelessAP
80     __del__ = lambda self : None;
81     def loadHostapConfig(self, *args): return _wirelessap.wirelessAP_loadHostapConfig(self, *args)
82     def writeHostapdConfig(self, *args): return _wirelessap.wirelessAP_writeHostapdConfig(self, *args)
83 wirelessAP_swigregister = _wirelessap.wirelessAP_swigregister
84 wirelessAP_swigregister(wirelessAP)
85
86
87