Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
861 changes: 861 additions & 0 deletions developer/debug/test/application/apptest.c

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions developer/debug/test/application/mmakefile.src
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright (C) 2026, The AROS Development Team. All rights reserved.

include $(SRCDIR)/config/aros.cfg

EXEDIR := $(AROS_TESTS)/application

FILES := \
apptest

#MM- test : test-application
#MM- test-quick : test-application-quick

#MM test-application : includes linklibs workbench-libs-application

%build_progs mmake=test-application \
files=$(FILES) targetdir=$(EXEDIR)

%common
46 changes: 46 additions & 0 deletions workbench/libs/application/application.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
##begin config
version 1.0
basename Application
libbasetype struct ApplicationBase
residentpri 5
##end config

##begin cdef
#include <libraries/application.h>
##end cdef

##begin cdefprivate
#include "application_intern.h"
##end cdefprivate

##begin functionlist
ULONG RegisterApplicationA(CONST_STRPTR name, struct TagItem *tags) (A0,A1)
BOOL UnregisterApplicationA(ULONG appID, struct TagItem *tags) (D0,A0)
BOOL SetApplicationAttrsA(ULONG appID, struct TagItem *tags) (D0,A0)
BOOL GetApplicationAttrsA(ULONG appID, struct TagItem *tags) (D0,A0)
ULONG FindApplicationA(struct TagItem *tags) (A0)
BOOL SendApplicationMsg(ULONG senderAppID, ULONG receiverAppID, struct ApplicationMsg *msg, ULONG type) (D0,D1,A0,D2)
ULONG NotifyA(ULONG appID, struct TagItem *tags) (D0,A0)
struct MinList *GetApplicationList() ()
VOID FreeApplicationList(struct MinList *list) (A0)
BOOL GetAppLibAttrsA(struct TagItem *tags) (A0)
BOOL SetAppLibAttrsA(ULONG dummy, struct TagItem *tags) (D0,A0)
BOOL LockApplicationIcon(ULONG appID) (D0)
VOID UnlockApplicationIcon(ULONG appID) (D0)
PrefsObject *PrefsBaseObjectA(PrefsObject *obj, ULONG *error, struct TagItem *tags) (A0,A1,A2)
PrefsObject *PrefsStringA(PrefsObject *obj, ULONG *error, struct TagItem *tags) (A0,A1,A2)
PrefsObject *PrefsNumberA(PrefsObject *obj, ULONG *error, struct TagItem *tags) (A0,A1,A2)
PrefsObject *PrefsDateA(PrefsObject *obj, ULONG *error, struct TagItem *tags) (A0,A1,A2)
PrefsObject *PrefsBinaryA(PrefsObject *obj, ULONG *error, struct TagItem *tags) (A0,A1,A2)
PrefsObject *PrefsArrayA(PrefsObject *obj, ULONG *error, struct TagItem *tags) (A0,A1,A2)
PrefsObject *PrefsDictionaryA(PrefsObject *obj, ULONG *error, struct TagItem *tags) (A0,A1,A2)
PrefsObject *DictGetObjectForKey(PrefsObject *dict, CONST_STRPTR key) (A0,A1)
BOOL DictGetBoolForKey(PrefsObject *dict, CONST_STRPTR key, BOOL defBool) (A0,A1,D0)
LONG DictGetIntegerForKey(PrefsObject *dict, CONST_STRPTR key, LONG defInt) (A0,A1,D0)
CONST_STRPTR DictGetStringForKey(PrefsObject *dict, CONST_STRPTR key, CONST_STRPTR defStr) (A0,A1,A2)
LONG DictGetOptionForKey(PrefsObject *dict, CONST_STRPTR key, CONST_STRPTR *optionsTable, LONG defaultOption) (A0,A1,A2,D0)
BOOL DictSetObjectForKey(PrefsObject *dict, PrefsObject *obj, CONST_STRPTR key) (A0,A1,A2)
ULONG ReadPrefsA(PrefsObject *dict, struct TagItem *tags) (A0,A1)
ULONG WritePrefsA(PrefsObject *dict, struct TagItem *tags) (A0,A1)
ULONG BeginDeserialization(struct ALPOGetProcInfo *info) (A0)
##end functionlist
Loading
Loading