NativeLib.py
changeset 1680 6db967480b7d
parent 1511 91538d0c242c
child 1730 64d8f52bc8c8
equal deleted inserted replaced
1679:2fcea15858a5 1680:6db967480b7d
     3 
     3 
     4 # This file is part of Beremiz, a Integrated Development Environment for
     4 # This file is part of Beremiz, a Integrated Development Environment for
     5 # programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
     5 # programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
     6 #
     6 #
     7 # Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
     7 # Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
       
     8 # Copyright (C) 2017: Andrey Skvortsov
     8 #
     9 #
     9 # See COPYING file for copyrights details.
    10 # See COPYING file for copyrights details.
    10 #
    11 #
    11 # This program is free software; you can redistribute it and/or
    12 # This program is free software; you can redistribute it and/or
    12 # modify it under the terms of the GNU General Public License
    13 # modify it under the terms of the GNU General Public License
    21 # You should have received a copy of the GNU General Public License
    22 # You should have received a copy of the GNU General Public License
    22 # along with this program; if not, write to the Free Software
    23 # along with this program; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    24 
    25 
    25 import os
    26 import os
       
    27 import util.paths as paths
    26 from POULibrary import POULibrary
    28 from POULibrary import POULibrary
    27 
    29 
    28 class NativeLibrary(POULibrary):
    30 class NativeLibrary(POULibrary):
    29     def GetLibraryPath(self):
    31     def GetLibraryPath(self):
    30         return os.path.join(os.path.split(__file__)[0], "NativeLib.xml") 
    32         return paths.AbsNeighbourFile(__file__, "NativeLib.xml") 
    31 
    33