Projekt

Allgemein

Profil

Feature #744

Introduce an application class like Qt has

Von Maximilian Seesslen vor etwa 2 Monaten hinzugefügt. Vor etwa 1 Monat aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Zielversion:
-
Beginn:
20.03.2026
Abgabedatum:
% erledigt:

0%

Geschätzter Aufwand:
CS Zielversion:

Beschreibung

Initialization code can be done here and a proper event loop mechanism can be used.

class CApplication
{
   public:
   CApplication()
   {
      biwakInit();
   }
   int exec() __attribute__(( noreturn ));
};

int CApplication::exec()
{
   while(1)
   {
      CEventLoop::globalEventLoop();
      usleep_nodata(1000);
   }
   //return(0);
}

This will provide a further clean up main function.

arenaInit() is missing then. This can be moved to CPlatformBase.

Historie

#1

Von Maximilian Seesslen vor etwa 1 Monat aktualisiert

  • Thema wurde von Introduce an application class like Qt zu Introduce an application class like Qt has geändert
#2

Von Maximilian Seesslen vor etwa 1 Monat aktualisiert

  • Beschreibung aktualisiert (diff)
#3

Von Maximilian Seesslen vor etwa 1 Monat aktualisiert

  • Beschreibung aktualisiert (diff)
#4

Von Maximilian Seesslen vor etwa 1 Monat aktualisiert

  • Status wurde von Neu zu Erledigt geändert
  • Zugewiesen an wurde auf Maximilian Seesslen gesetzt

Auch abrufbar als: Atom PDF