Make real.h so we can change reals
[ipdf/code.git] / src / main.h
1 #include "common.h"
2
3 #include "document.h"
4 #include "view.h"
5 #include "screen.h"
6
7
8 using namespace std;
9 using namespace IPDF;
10
11 inline void MainLoop(Document & doc)
12 {
13         View view(doc);
14         Screen scr;
15         while (scr.PumpEvents())
16         {
17                 view.Render();
18                 scr.Present();
19         }
20 }

UCC git Repository :: git.ucc.asn.au