NAWA 0.9
Web Application Framework for C++
application.h File Reference

This file will be configured by CMake and contains the necessary properties to ensure that a loaded app has been compiled against the same nawa version as the nawarun executable loading it (or, at least, one with a compatible ABI). More...

Go to the source code of this file.

Macros

#define NAWA_VERSION_MAJOR   0
 
#define NAWA_VERSION_MINOR   9
 

Functions

int init (nawa::AppInit &appInit)
 
int handleRequest (nawa::Connection &connection)
 

Variables

const int nawa_version_major = NAWA_VERSION_MAJOR
 
const int nawa_version_minor = NAWA_VERSION_MINOR
 

Detailed Description

This file will be configured by CMake and contains the necessary properties to ensure that a loaded app has been compiled against the same nawa version as the nawarun executable loading it (or, at least, one with a compatible ABI).

Definition in file application.h.

Macro Definition Documentation

◆ NAWA_VERSION_MAJOR

#define NAWA_VERSION_MAJOR   0

Definition at line 27 of file application.h.

◆ NAWA_VERSION_MINOR

#define NAWA_VERSION_MINOR   9

Definition at line 28 of file application.h.

Function Documentation

◆ init()

int init ( nawa::AppInit appInit)

Definition at line 40 of file contactform.cpp.

◆ handleRequest()

int handleRequest ( nawa::Connection connection)

Definition at line 47 of file contactform.cpp.

Variable Documentation

◆ nawa_version_major

const int nawa_version_major = NAWA_VERSION_MAJOR

Definition at line 33 of file application.h.

◆ nawa_version_minor

const int nawa_version_minor = NAWA_VERSION_MINOR

Definition at line 34 of file application.h.