ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
WindowController.h File Reference

A WindowController manages a ViewController and its descendants within an SDL_Window. More...

#include <Objectively/Object.h>
#include <ObjectivelyMVC/DebugViewController.h>
#include <ObjectivelyMVC/Renderer.h>
#include <ObjectivelyMVC/ViewController.h>

Go to the source code of this file.

Data Structures

struct  WindowController
 A WindowController manages a ViewController and its descendants within an SDL_Window. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _WindowController (void)
 

Detailed Description

A WindowController manages a ViewController and its descendants within an SDL_Window.

Definition in file WindowController.h.

Function Documentation

◆ _WindowController()

OBJECTIVELYMVC_EXPORT Class * _WindowController ( void  )

Definition at line 578 of file WindowController.c.

578 {
579 static Class *clazz;
580 static Once once;
581
582 do_once(&once, {
583 clazz = _initialize(&(const ClassDef) {
584 .name = "WindowController",
585 .superclass = _Object(),
586 .instanceSize = sizeof(WindowController),
587 .interfaceSize = sizeof(WindowControllerInterface),
588 .initialize = initialize,
589 });
590 });
591
592 return clazz;
593}
static void initialize(Class *clazz)
A WindowController manages a ViewController and its descendants within an SDL_Window.