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

tdeio/tdeio

  • tdeio
  • tdeio
tdelficon.h
1 #include <tdelibs_export.h>
2 
3 #include <stdint.h>
4 #include <cstdlib>
5 
6 #include <tqdict.h>
7 #include <tqvalidator.h>
8 #include <tqcstring.h>
9 #include <tqfile.h>
10 #include <tqdatetime.h>
11 
12 extern "C" {
13  #include <libr-icons.h>
14 
15  // BEGIN HACK
16  // libr does not export these structures and defines,
17  // but we need access to them to make the UI behave sanely
18  // Keep them in sync with libr and all should be OK
19 
20  // Valid for libr version 0.6.0
21  // See libr detection code in ConfigureChecks.cmake
22 
23  typedef uint32_t ID8;
24  typedef uint16_t ID4;
25  typedef struct {uint64_t p:48;} __attribute__((__packed__)) ID12;
26 
27  typedef struct {
28  ID8 g1;
29  ID4 g2;
30  ID4 g3;
31  ID4 g4;
32  ID12 g5;
33  } __attribute__((__packed__)) UUID;
34 
35  typedef struct {
36  char *name;
37  size_t offset;
38  size_t entry_size;
39  libr_icontype_t type;
40  unsigned int icon_size;
41  } iconentry;
42 
43  typedef struct{
44  size_t size;
45  char *buffer;
46  iconentry entry;
47  } iconlist;
48 
49  #define ICON_SECTION ".icon"
50  // END HACK
51 }
52 
53 TDEIO_EXPORT int get_iconlist(libr_file *file_handle, iconlist *icons);
54 TDEIO_EXPORT iconentry *get_nexticon(iconlist *icons, iconentry *last_entry);
55 TDEIO_EXPORT 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
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.8.8
This website is maintained by Timothy Pearson.