src/hbtools/hbbincssmaker/hbcssconverterutils_p.h
changeset 21 4633027730f5
parent 7 923ff622b8b9
equal deleted inserted replaced
7:923ff622b8b9 21:4633027730f5
    32 
    32 
    33 class HbCssConverterUtils
    33 class HbCssConverterUtils
    34 {
    34 {
    35 public:
    35 public:
    36     // Shared chunk offset management
    36     // Shared chunk offset management
    37     static void registerOffsetHolder(int *offset);
    37     static void registerOffsetHolder(qptrdiff *offset);
    38     static void unregisterOffsetHolder(int *offset);
    38     static void unregisterOffsetHolder(qptrdiff *offset);
    39     static QMultiHash<int, int *> registeredOffsetHolders();
    39     static QMultiHash<int, qptrdiff *> registeredOffsetHolders();
    40     static void unregisterAll();
    40     static void unregisterAll();
    41 
    41 
    42     // Shared chunk allocation management
    42     // Shared chunk allocation management
    43     static void cellAllocated(int offset, int size);
    43     static void cellAllocated(qptrdiff offset, int size);
    44     static void cellFreed(int offset);
    44     static void cellFreed(qptrdiff offset);
    45     static void cellMoved(int offset, int newOffset);
    45     static void cellMoved(qptrdiff offset, qptrdiff newOffset);
    46     static int defragmentChunk();
    46     static int defragmentChunk();
    47 
    47 
    48     //shared string management
    48     //shared string management
    49     static void addSharedStringData(const QString &str, const HbString &hbstr);
    49     static void addSharedStringData(const QString &str, const HbString &hbstr);
    50     static HbString* sharedStringData(const QString &str);
    50     static HbString* sharedStringData(const QString &str);