• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdeio
 

tdeio/tdeio

  • tdeio
  • tdeio
tdelficon.h
1 #include <alloca.h>
2 #include <stdint.h>
3 #include <cstdlib>
4 
5 #include <tqdict.h>
6 #include <tqvalidator.h>
7 #include <tqcstring.h>
8 #include <tqfile.h>
9 #include <tqdatetime.h>
10 
11 extern "C" {
12  #include <libr-icons.h>
13 
14  // BEGIN HACK
15  // libr does not export these structures and defines,
16  // but we need access to them to make the UI behave sanely
17  // Keep them in sync with libr and all should be OK
18 
19  // Valid for libr version 0.6.0
20  // See libr detection code in ConfigureChecks.cmake
21 
22  typedef uint32_t ID8;
23  typedef uint16_t ID4;
24  typedef struct {uint64_t p:48;} __attribute__((__packed__)) ID12;
25 
26  typedef struct {
27  ID8 g1;
28  ID4 g2;
29  ID4 g3;
30  ID4 g4;
31  ID12 g5;
32  } __attribute__((__packed__)) UUID;
33 
34  typedef struct {
35  char *name;
36  size_t offset;
37  size_t entry_size;
38  libr_icontype_t type;
39  unsigned int icon_size;
40  } iconentry;
41 
42  typedef struct{
43  size_t size;
44  char *buffer;
45  iconentry entry;
46  } iconlist;
47 
48  #define ICON_SECTION ".icon"
49  // END HACK
50 }
51 
52 int get_iconlist(libr_file *file_handle, iconlist *icons);
53 iconentry *get_nexticon(iconlist *icons, iconentry *last_entry);
54 TQString elf_get_resource(libr_file *handle, char *section_name);

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • knewstuff
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.8.3.1
This website is maintained by Timothy Pearson.