NetSurf
Data Structures | Enumerations | Functions
object.h File Reference
#include <exec/lists.h>
Include dependency graph for object.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  nsObject
 

Enumerations

enum  {
  AMINS_UNKNOWN , AMINS_CALLBACK , AMINS_WINDOW , AMINS_DLWINDOW ,
  AMINS_LOGINWINDOW , AMINS_TVWINDOW , AMINS_FINDWINDOW , AMINS_HISTORYWINDOW ,
  AMINS_GUIOPTSWINDOW , AMINS_PRINTWINDOW , AMINS_COREWINDOW , AMINS_FONT ,
  AMINS_MIME , AMINS_RECT
}
 

Functions

struct MinList * NewObjList (void)
 
struct nsObjectAddObject (struct MinList *objlist, ULONG otype)
 
void ObjectCallback (struct nsObject *dtzo, void(*callback)(void *nso))
 
void DelObject (struct nsObject *dtzo)
 
void DelObjectNoFree (struct nsObject *dtzo)
 
void FreeObjList (struct MinList *objlist)
 
struct MinList * ami_AllocMinList (void)
 List abstraction as OS3 appears to have problems with NewMinList() More...
 
bool ami_object_init (void)
 Initialisation for itempool. More...
 
void ami_object_fini (void)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
AMINS_UNKNOWN 
AMINS_CALLBACK 
AMINS_WINDOW 
AMINS_DLWINDOW 
AMINS_LOGINWINDOW 
AMINS_TVWINDOW 
AMINS_FINDWINDOW 
AMINS_HISTORYWINDOW 
AMINS_GUIOPTSWINDOW 
AMINS_PRINTWINDOW 
AMINS_COREWINDOW 
AMINS_FONT 
AMINS_MIME 
AMINS_RECT 

Definition at line 24 of file object.h.

Function Documentation

◆ AddObject()

struct nsObject * AddObject ( struct MinList *  objlist,
ULONG  otype 
)

Definition at line 77 of file object.c.

References ami_memory_itempool_alloc, pool_nsobj, and nsObject::Type.

Referenced by ami_cw_redraw(), ami_font_cache_insert(), ami_font_scan_init(), ami_font_scan_list(), ami_gui_win_list_add(), ami_mime_guess_add_datatype(), ami_mime_init(), and amiga_window_invalidate_area().

Here is the caller graph for this function:

◆ ami_AllocMinList()

struct MinList * ami_AllocMinList ( void  )

List abstraction as OS3 appears to have problems with NewMinList()

Definition at line 63 of file object.c.

References ami_NewMinList(), and nsList.

Referenced by ami_openurl_open(), ami_plot_ra_alloc(), gui_window_create(), and NewObjList().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ami_object_fini()

void ami_object_fini ( void  )

Definition at line 50 of file object.c.

References ami_memory_itempool_delete, and pool_nsobj.

Referenced by ami_gui_resources_free().

Here is the caller graph for this function:

◆ ami_object_init()

bool ami_object_init ( void  )

Initialisation for itempool.

Definition at line 42 of file object.c.

References ami_memory_itempool_create, and pool_nsobj.

Referenced by ami_gui_resources_open().

Here is the caller graph for this function:

◆ DelObject()

void DelObject ( struct nsObject dtzo)

Definition at line 107 of file object.c.

References DelObjectInternal().

Referenced by ami_font_cache_cleanup(), ami_gui_win_list_remove(), and FreeObjList().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DelObjectNoFree()

void DelObjectNoFree ( struct nsObject dtzo)

Definition at line 112 of file object.c.

References DelObjectInternal().

Referenced by ami_cw_redraw_queue(), ami_gui_win_list_remove(), ami_gui_window_update_box_deferred(), ami_gui_window_update_box_deferred_check(), and FreeObjList().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FreeObjList()

void FreeObjList ( struct MinList *  objlist)

Definition at line 117 of file object.c.

References AMINS_RECT, DelObject(), DelObjectNoFree(), GetHead(), GetSucc(), IsMinListEmpty, and nsObject::Type.

Referenced by ami_corewindow_fini(), ami_font_cache_fini(), ami_font_scan_init(), ami_mime_free(), gui_quit(), and gui_window_destroy().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewObjList()

struct MinList * NewObjList ( void  )

Definition at line 71 of file object.c.

References ami_AllocMinList().

Referenced by ami_corewindow_init(), ami_font_cache_init(), ami_font_scan_init(), ami_mime_init(), gui_window_create(), and main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ObjectCallback()

void ObjectCallback ( struct nsObject dtzo,
void(*)(void *nso)  callback 
)

Definition at line 92 of file object.c.

References nsObject::callback.

Referenced by ami_font_cache_insert(), ami_mime_guess_add_datatype(), and ami_mime_init().

Here is the caller graph for this function: