libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
gimbal_app.h File Reference

Go to the source code of this file.

Data Structures

struct  GblAppClass
 
struct  GblApp
 

Macros

Type System

Type UUID and cast operators

#define GBL_APP_TYPE
 
#define GBL_APP(self)
 
#define GBL_APP_CLASS(klass)
 
#define GBL_APP_GET_CLASS(self)
 

Functions

Static Methods

Methods that operate on static global state

GblType GblApp_type (void)
 
GblAppGblApp_instance (void)
 
GblBool GblApp_startingUp (void)
 
GblBool GblApp_closingDown (void)
 
void GblApp_addLibraryPath (const char *pPath)
 
const GblStringListGblApp_libraryPaths (void)
 

Detailed Description

GblApp top-level application object.

This file contains the class and instance definitions for GblApp. Currently a WIP.

Todo:
Test:
  • Test me
Author
2023 Falco Girgis

Definition in file gimbal_app.h.

Macro Definition Documentation

◆ GBL_APP_TYPE

#define GBL_APP_TYPE

Type UUID for GblApp.

Definition at line 29 of file gimbal_app.h.

◆ GBL_APP

#define GBL_APP (   self)

Cast GblInstance to GblApp.

Definition at line 30 of file gimbal_app.h.

◆ GBL_APP_CLASS

#define GBL_APP_CLASS (   klass)

Cast GblClass to GblAppClass.

Definition at line 31 of file gimbal_app.h.

◆ GBL_APP_GET_CLASS

#define GBL_APP_GET_CLASS (   self)

Get GblAppClass from GblInstance.

Definition at line 32 of file gimbal_app.h.

Function Documentation

◆ GblApp_type()

GblType GblApp_type ( void  )

Returns the GblType UUID associated with the GblApp type.

◆ GblApp_instance()

GblApp * GblApp_instance ( void  )

Returns a pointer to the current application instance (or NULL if not instantiated)

◆ GblApp_startingUp()

GblBool GblApp_startingUp ( void  )

Returns GBL_TRUE if the GblApp instance is being initialized or constructed, GBL_FALSE otherwise.

◆ GblApp_closingDown()

GblBool GblApp_closingDown ( void  )

Returns GBL_TRUE if the GblApp instance is being deinitialized or destructed, GBL_FALSE otherwise.

◆ GblApp_addLibraryPath()

void GblApp_addLibraryPath ( const char *  pPath)

Adds pPath to the list of search paths for dynamic libraries and modules.

◆ GblApp_libraryPaths()

const GblStringList * GblApp_libraryPaths ( void  )

Returns a GblStringList containing the list of search paths for dynamic libraries and modules.