File: plugin_general_wxcp_plugin_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 (94 lines) | stat: -rw-r--r-- 5,960 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
//
// 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 = 265;
static unsigned char xml_res_file_0[] = {
    137, 80,  78,  71,  13,  10,  26,  10,  0,   0,   0,   13,  73,  72,  68,  82,  0,   0,   0,   16,  0,   0,   0,
    16,  8,   6,   0,   0,   0,   31,  243, 255, 97,  0,   0,   0,   25,  116, 69,  88,  116, 83,  111, 102, 116, 119,
    97,  114, 101, 0,   65,  100, 111, 98,  101, 32,  73,  109, 97,  103, 101, 82,  101, 97,  100, 121, 113, 201, 101,
    60,  0,   0,   0,   171, 73,  68,  65,  84,  120, 218, 98,  252, 255, 255, 63,  3,   37,  128, 137, 129, 66,  64,
    177, 1,   12,  32,  47,  48,  50,  50,  162, 227, 48,  32,  158, 134, 196, 159, 6,   21,  67,  81,  7,   246, 62,
    22,  3,   34,  128, 120, 38,  16,  139, 33,  137, 137, 65,  197, 34,  8,   25,  16,  5,   196, 115, 128, 88,  28,
    139, 171, 196, 161, 114, 81,  184, 12,  136, 1,   226, 5,   56,  52,  35,  27,  178, 0,   170, 22,  197, 0,   3,
    32,  222, 3,   165, 25,  8,   96,  184, 90,  116, 23,  36,  2,   241, 74,  32,  150, 4,   241, 209, 1,   84,  141,
    36,  84,  77,  34,  174, 48,  72,  6,   226, 117, 32,  133, 88,  12,  144, 132, 202, 37,  19,  138, 133, 116, 32,
    222, 6,   212, 35,  141, 164, 95,  26,  36,  6,   149, 35,  24,  141, 32,  13,  133, 64,  124, 28,  201, 0,   16,
    187, 16,  91,  58,  96,  28,  250, 121, 129, 98,  3,   0,   2,   12,  0,   3,   38,  80,  237, 44,  77,  182, 8,
    0,   0,   0,   0,   73,  69,  78,  68,  174, 66,  96,  130
};

static size_t xml_res_size_1 = 174;
static unsigned char xml_res_file_1[] = {
    137, 80,  78,  71,  13,  10,  26,  10,  0,   0,   0,   13,  73,  72,  68,  82,  0,   0,   0,   16,  0,   0,
    0,   16,  8,   6,   0,   0,   0,   31,  243, 255, 97,  0,   0,   0,   6,   98,  75,  71,  68,  0,   255, 0,
    255, 0,   255, 160, 189, 167, 147, 0,   0,   0,   9,   112, 72,  89,  115, 0,   0,   11,  19,  0,   0,   11,
    19,  1,   0,   154, 156, 24,  0,   0,   0,   7,   116, 73,  77,  69,  7,   221, 3,   28,  21,  37,  22,  57,
    209, 51,  139, 0,   0,   0,   59,  73,  68,  65,  84,  56,  203, 99,  96,  24,  5,   216, 192, 127, 40,  38,
    74,  156, 137, 128, 65,  216, 216, 40,  128, 145, 8,   205, 120, 213, 51,  18,  233, 2,   156, 106, 153, 40,
    13,  48,  154, 120, 225, 63,  22,  249, 255, 184, 244, 48,  17,  233, 58,  198, 209, 212, 141, 27,  0,   0,
    34,  218, 11,  7,   37,  125, 139, 36,  0,   0,   0,   0,   73,  69,  78,  68,  174, 66,  96,  130
};

static size_t xml_res_size_2 = 317;
static unsigned char xml_res_file_2[] = {
    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, 110, 100, 111, 119, 115, 46,  111, 114, 103, 47,  119, 120, 120, 114, 99,  34,  62,  10,  32,  32,  60,
    111, 98,  106, 101, 99,  116, 32,  99,  108, 97,  115, 115, 61,  34,  119, 120, 66,  105, 116, 109, 97,  112, 34,
    32,  110, 97,  109, 101, 61,  34,  100, 98,  103, 65,  115, 109, 34,  62,  112, 108, 117, 103, 105, 110, 95,  103,
    101, 110, 101, 114, 97,  108, 95,  119, 120, 99,  112, 95,  112, 108, 117, 103, 105, 110, 95,  98,  105, 116, 109,
    97,  112, 115, 46,  99,  112, 112, 36,  46,  46,  95,  105, 99,  111, 110, 115, 95,  97,  115, 109, 46,  112, 110,
    103, 60,  47,  111, 98,  106, 101, 99,  116, 62,  10,  32,  32,  60,  111, 98,  106, 101, 99,  116, 32,  99,  108,
    97,  115, 115, 61,  34,  119, 120, 66,  105, 116, 109, 97,  112, 34,  32,  110, 97,  109, 101, 61,  34,  116, 97,
    98,  67,  108, 111, 115, 101, 34,  62,  112, 108, 117, 103, 105, 110, 95,  103, 101, 110, 101, 114, 97,  108, 95,
    119, 120, 99,  112, 95,  112, 108, 117, 103, 105, 110, 95,  98,  105, 116, 109, 97,  112, 115, 46,  99,  112, 112,
    36,  46,  46,  95,  105, 99,  111, 110, 115, 95,  99,  108, 111, 115, 101, 46,  112, 110, 103, 60,  47,  111, 98,
    106, 101, 99,  116, 62,  10,  60,  47,  114, 101, 115, 111, 117, 114, 99,  101, 62,  10
};

void wxCDEE4InitBitmapResources()
{

    // 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/plugin_general_wxcp_plugin_bitmaps.cpp$.._icons_asm.png"), xml_res_file_0,
                 xml_res_size_0, wxT("image/png"));
    XRC_ADD_FILE(wxT("XRC_resource/plugin_general_wxcp_plugin_bitmaps.cpp$.._icons_close.png"), xml_res_file_1,
                 xml_res_size_1, wxT("image/png"));
    XRC_ADD_FILE(
        wxT("XRC_resource/"
            "plugin_general_wxcp_plugin_bitmaps.cpp$C__src_codelite_Plugin_plugin_general_wxcp_plugin_bitmaps.xrc"),
        xml_res_file_2, xml_res_size_2, wxT("text/xml"));
    wxXmlResource::Get()->Load(
        wxT("memory:XRC_resource/"
            "plugin_general_wxcp_plugin_bitmaps.cpp$C__src_codelite_Plugin_plugin_general_wxcp_plugin_bitmaps.xrc"));
}