jv_libgdbs.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 09 Jun 2014 21:28:52 +0100
changeset 11 474fbb650afe
parent 8 7f4882e2562a
child 12 568a2971c977
permissions -rw-r--r--
PTY support refactored to use GDBPTY object.

"{ Package: 'jv:libgdbs' }"

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


!jv_libgdbs class methodsFor:'description'!

excludedFromPreRequisites
    "list packages which are to be explicitely excluded from the automatic constructed
     prerequisites list. If empty, everything that is found along the inheritance of any of
     my classes is considered to be a prerequisite package."

    ^ #(
    )
!

mandatoryPreRequisites
    "list packages which are mandatory as a prerequisite.
     This are packages containing superclasses of my classes and classes which
     are extended by myself.
     They are mandatory, beacuse we need these packages as a prerequisite for loading and compiling.
     This method is generated automatically,
     by searching along the inheritance chain of all of my classes."

    ^ #(
        #'stx:goodies/announcements'    "Announcement - superclass of GDBAsyncEvent "
        #'stx:libbasic'    "Collection - superclass of GDBEventSet "
    )
!

referencedPreRequisites
    "list packages which are a prerequisite, because they contain
     classes which are referenced by my classes.
     We do not need these packages as a prerequisite for loading or compiling.
     This method is generated automatically,
     by searching all classes (and their packages) which are referenced by my classes."

    ^ #(
        #'stx:libbasic2'    "SharedQueue - referenced by GDBInternalPipeStream>>initialize "
    )
!

subProjects
    "list packages which are known as subprojects. 
     The generated makefile will enter those and make there as well.
     However: they are not forced to be loaded when a package is loaded; 
     for those, redefine requiredPrerequisites."

    ^ #(
    )
! !

!jv_libgdbs 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"
        GDBCommand
        GDBCommandResult
        GDBCommandStatus
        GDBDebugFlags
        GDBEvent
        GDBEventSet
        GDBInternalPipeStream
        GDBLauncher
        GDBObject
        GDBPTY
        #'jv_libgdbs'
        GDB
        GDBAsyncEvent
        GDBCLICommand
        GDBCommandEvent
        GDBCommandResultEvent
        GDBDriver
        GDBInternalEvent
        GDBMICommand
        GDBParser
        GDBStreamOutputEvent
        GDBTuple
        GDBConsoleOutputEvent
        GDBExecutionEvent
        GDBExitEvent
        GDBLogOutputEvent
        GDBNotificationEvent
        GDBStatusEvent
        GDBTargetOutputEvent
    )
!

extensionMethodNames
    "list class/selector pairs of extensions.
     A correponding method with real names must be present in my concrete subclasses"

    ^ #(
    )
! !

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

companyName
    "Returns a company string which will appear in <lib>.rc.
     Under win32, this is placed into the dlls file-info"

    ^ 'My Company'
!

description
    "Returns a description string which will appear in nt.def / bc.def"

    ^ 'Class Library'
!

legalCopyright
    "Returns a copyright string which will appear in <lib>.rc.
     Under win32, this is placed into the dlls file-info"

    ^ 'My CopyRight or CopyLeft'
!

productName
    "Returns a product name which will appear in <lib>.rc.
     Under win32, this is placed into the dlls file-info.
     This method is usually redefined in a concrete application definition"

    ^ 'LibraryName'
! !

!jv_libgdbs class methodsFor:'documentation'!

version_HG
    ^ '$Changeset: <not expanded> $'
! !