ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
Data Structures | Functions
ViewController.h File Reference

A ViewController manages a View and its descendants. More...

#include <Objectively/MutableArray.h>
#include <ObjectivelyMVC/Notification.h>
#include <ObjectivelyMVC/View.h>

Go to the source code of this file.

Data Structures

struct  ViewController
 A ViewController manages a View and its descendants. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _ViewController (void)
 

Detailed Description

A ViewController manages a View and its descendants.

Definition in file ViewController.h.

Function Documentation

◆ _ViewController()

OBJECTIVELYMVC_EXPORT Class * _ViewController ( void  )

Definition at line 305 of file ViewController.c.

305 {
306 static Class *clazz;
307 static Once once;
308
309 do_once(&once, {
310 clazz = _initialize(&(const ClassDef) {
311 .name = "ViewController",
312 .superclass = _Object(),
313 .instanceSize = sizeof(ViewController),
314 .interfaceOffset = offsetof(ViewController, interface),
315 .interfaceSize = sizeof(ViewControllerInterface),
317 });
318 });
319
320 return clazz;
321}
static void initialize(Class *clazz)
A ViewController manages a View and its descendants.