예제 #1
0
 def __init__(self):
   FileKind.__init__(self, 'haskell source', 'hs')
예제 #2
0
 def __init__(self):
   FileKind.__init__(self, 'executable', '')
예제 #3
0
 def __init__(self, is_pic):
   FileKind.__init__(self, 'object' + ' PIC' if is_pic else '', 'o_pic' if is_pic else 'o')
예제 #4
0
 def __init__(self, is_cpp, ext):
   FileKind.__init__(self, 'C++' if is_cpp else 'C' + ' source', ext)
   self.__is_cpp = is_cpp
   self.__ext = ext
예제 #5
0
 def __init__(self):
   FileKind.__init__(self, 'C/C++ header', 'h')