File: wxscodegenerator.cpp

package info (click to toggle)
codeblocks 16.01%2Bdfsg-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 85,420 kB
  • ctags: 90,657
  • sloc: cpp: 665,947; ansic: 48,306; sh: 32,198; xml: 29,690; makefile: 6,054; asm: 3,827; python: 3,251; f90: 1,202; pascal: 839; yacc: 291; perl: 261; sed: 16
file content (29 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include "wxscodegenerator.h"

wxsCodeGenerator::wxsCodeGenerator(): m_Context(0)
{
}

wxsCodeGenerator::~wxsCodeGenerator()
{
    m_Context = 0;
}

void wxsCodeGenerator::BuildCode(wxsCoderContext* Context)
{
    wxsCoderContext* Store = m_Context;
    m_Context = Context;
    long FlagsStore = Context->m_Flags;

    OnUpdateFlags(Context->m_Flags);
    OnBuildCreatingCode();
    OnBuildHeadersCode();
    OnBuildDeclarationsCode();
    OnBuildEventsConnectingCode();
    OnBuildIdCode();
    OnBuildXRCFetchingCode();

    Context->m_Flags = FlagsStore;
    m_Context = Store;
}