cvut_fel_cface.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 12 Jul 2011 15:02:15 +0000
changeset 15 e873065959dc
parent 14 1f730d82496e
child 16 ffcbe7184a53
permissions -rw-r--r--
Fiew fixes, needs to be updated for newer GCC-XML

"{ Package: 'cvut:fel/cface' }"

LibraryDefinition subclass:#cvut_fel_cface
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'* Projects & Packages *'
!


!cvut_fel_cface class methodsFor:'description'!

preRequisites
    "list all required packages.
     This list can be maintained manually or (better) generated and
     updated by scanning the superclass hierarchies and looking for
     global variable accesses. (the browser has a menu function for that)
     Howevery, often too much is found, and you may want to explicitely
     exclude individual packages in the #excludedFromPrerequisites method."

    ^ #(
        #'stx:goodies/smaCC'    "SmaCC::SmaCCParser - superclass of Cface::CDefinitionParser "
        #'stx:libbasic'    "Object - superclass of Cface::CDerivedTypeNode "
        #'stx:libbasic3'    "MethodDefinitionChange - referenced by Cface::SmalltalkXGenerator>>visitCStructFieldNode: "
    )
! !

!cvut_fel_cface class methodsFor:'description - contents'!

classNamesAndAttributes
    "lists the classes which are to be included in the project.
     Each entry in the list may be: a single class-name (symbol),
     or an array-literal consisting of class name and attributes.
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."

    ^ #(
        "<className> or (<className> attributes...) in load order"
        #'Cface::CDefinitionParser'
        #'Cface::CDefinitionScanner'
        #'Cface::CNode'
        #'Cface::CNodeVisitor'
        #'Cface::GeneratorCommand'
        #'Cface::Platform'
        #'Cface::TypeMapping'
        #'cvut_fel_cface'
        #'Cface::CDefinitionNode'
        #'Cface::CModifierNode'
        #'Cface::CNoNode'
        #'Cface::CairoMapping'
        #'Cface::GTKMapping'
        #'Cface::Generator'
        #'Cface::SVNMapping'
        #'Cface::SmalltalkX'
        #'Cface::TypeCollector'
        #'Cface::TypeMapper'
        #'Cface::TypeResolver'
        #'Cface::CArgumentNode'
        #'Cface::CConstNode'
        #'Cface::CDefinitionFileNode'
        #'Cface::CEnumValueNode'
        #'Cface::CFunctionNode'
        #'Cface::CLongNode'
        #'Cface::CShortNode'
        #'Cface::CStructFieldNode'
        #'Cface::CTypeNode'
        #'Cface::CUnsignedNode'
        #'Cface::SmalltalkXGenerator'
        #'Cface::CArrayNode'
        #'Cface::CBuiltinNode'
        #'Cface::CDerivedTypeNode'
        #'Cface::CPointerNode'
        #'Cface::CTypedefNode'
        #'Cface::CUserDefinedTypeNode'
        #'Cface::CCharNode'
        #'Cface::CDoubleNode'
        #'Cface::CEnumNode'
        #'Cface::CFloatNode'
        #'Cface::CFunctionTypeNode'
        #'Cface::CIntNode'
        #'Cface::CStructuredNode'
        #'Cface::CVoidNode'
        #'Cface::CWCharNode'
        #'Cface::CStructNode'
        #'Cface::CUnionNode'
    )
!

extensionMethodNames
    "lists the extension methods which are to be included in the project.
     Entries are 2-element array literals, consisting of class-name and selector."

    ^ #(
        ClassDefinitionChange nameSpaceName:
    )
! !

!cvut_fel_cface class methodsFor:'description - project information'!

companyName
    "Return a companyname which will appear in <lib>.rc"

    ^ 'CVUT FEL'

    "Created: / 08-09-2008 / 23:49:09 / Jan Vrany <vranyj1@fel.cvut.cz>"
!

description
    "Return a description string which will appear in vc.def / bc.def"

    ^ 'Cairo graphics binding'

    "Created: / 08-09-2008 / 23:49:09 / Jan Vrany <vranyj1@fel.cvut.cz>"
!

legalCopyright
    "Return a copyright string which will appear in <lib>.rc"

    ^ 'Copyright 2008 Jan Vrany'

    "Created: / 08-09-2008 / 23:49:09 / Jan Vrany <vranyj1@fel.cvut.cz>"
!

productName
    "Return a product name which will appear in <lib>.rc"

    ^ 'CairoGraphics'

    "Created: / 08-09-2008 / 23:49:09 / Jan Vrany <vranyj1@fel.cvut.cz>"
! !

!cvut_fel_cface class methodsFor:'description - svn'!

svnRepositoryUrlString
    "Return a SVN repository URL of myself.
     (Generated since 2011-04-08)
    "        

    ^ '$URL$'
!

svnRevisionNr
    "Return a SVN revision number of myself.
     This number is updated after a commit"

    ^ "$SVN-Revision:"'nil'"$"
! !

!cvut_fel_cface class methodsFor:'documentation'!

version
    ^'$Id$'
!

version_SVN
    ^ '$Id$'
! !