File: AddIncludeFile_liteeditor_bitmaps.cpp

package info (click to toggle)
codelite 17.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 136,204 kB
  • sloc: cpp: 491,547; ansic: 280,393; php: 10,259; sh: 8,930; lisp: 7,664; vhdl: 6,518; python: 6,020; lex: 4,920; yacc: 3,123; perl: 2,385; javascript: 1,715; cs: 1,193; xml: 1,110; makefile: 804; cobol: 741; sql: 709; ruby: 620; f90: 566; ada: 534; asm: 464; fortran: 350; objc: 289; tcl: 258; java: 157; erlang: 61; pascal: 51; ml: 49; awk: 44; haskell: 36
file content (54 lines) | stat: -rw-r--r-- 2,245 bytes parent folder | download | duplicates (2)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//
// This file was automatically generated by wxrc, do not edit by hand.
//

#include <wx/wxprec.h>

#ifdef __BORLANDC__
#pragma hdrstop
#endif

#include <wx/filesys.h>
#include <wx/fs_mem.h>
#include <wx/xrc/xh_all.h>
#include <wx/xrc/xmlres.h>

#if wxCHECK_VERSION(2, 8, 5) && wxABI_VERSION >= 20805
#define XRC_ADD_FILE(name, data, size, mime) wxMemoryFSHandler::AddFileWithMimeType(name, data, size, mime)
#else
#define XRC_ADD_FILE(name, data, size, mime) wxMemoryFSHandler::AddFile(name, data, size)
#endif

static size_t xml_res_size_0 = 137;
static unsigned char xml_res_file_0[] = {
    60,  63,  120, 109, 108, 32,  118, 101, 114, 115, 105, 111, 110, 61,  34,  49,  46,  48,  34,  32,  101, 110, 99,
    111, 100, 105, 110, 103, 61,  34,  85,  84,  70,  45,  56,  34,  63,  62,  10,  60,  114, 101, 115, 111, 117, 114,
    99,  101, 32,  120, 109, 108, 110, 115, 61,  34,  104, 116, 116, 112, 58,  47,  47,  119, 119, 119, 46,  119, 120,
    119, 105, 100, 103, 101, 116, 115, 46,  111, 114, 103, 47,  119, 120, 120, 114, 99,  34,  62,  10,  32,  32,  60,
    33,  45,  45,  32,  72,  97,  110, 100, 108, 101, 114, 32,  71,  101, 110, 101, 114, 97,  116, 105, 111, 110, 32,
    105, 115, 32,  79,  78,  32,  45,  45,  62,  10,  60,  47,  114, 101, 115, 111, 117, 114, 99,  101, 62,  10
};

void wxC10CDInitBitmapResources()
{

    // Check for memory FS. If not present, load the handler:
    {
        wxMemoryFSHandler::AddFile(wxT("XRC_resource/dummy_file"), wxT("dummy one"));
        wxFileSystem fsys;
        wxFSFile* f = fsys.OpenFile(wxT("memory:XRC_resource/dummy_file"));
        wxMemoryFSHandler::RemoveFile(wxT("XRC_resource/dummy_file"));
        if(f)
            delete f;
        else
            wxFileSystem::AddHandler(new wxMemoryFSHandlerBase);
    }

    XRC_ADD_FILE(
        wxT("XRC_resource/"
            "AddIncludeFile_liteeditor_bitmaps.cpp$C__src_codelite_Plugin_AddIncludeFile_liteeditor_bitmaps.xrc"),
        xml_res_file_0, xml_res_size_0, wxT("text/xml"));
    wxXmlResource::Get()->Load(
        wxT("memory:XRC_resource/"
            "AddIncludeFile_liteeditor_bitmaps.cpp$C__src_codelite_Plugin_AddIncludeFile_liteeditor_bitmaps.xrc"));
}