Logo Search packages:      
Sourcecode: einstein version File versions  Download package

ResVariant::ResVariant ( ResourceFile *  file,
int  score,
const ResourceFile::DirectoryEntry entry 
)

Create resource variation.

Parameters:
file reesource file
score locale compability score
entry entry in global resources directory

Definition at line 320 of file resources.cpp.

References ResourceFile::DirectoryEntry::level, ResourceFile::DirectoryEntry::offset, ResourceFile::DirectoryEntry::packedSize, and ResourceFile::DirectoryEntry::unpackedSize.

{
    file = f;
    i18nScore = score;
    offset = e.offset;
    unpackedSize = e.unpackedSize;
    packedSize = e.packedSize;
    level = e.level;
    refCnt = 0;
    data = NULL;
}


Generated by  Doxygen 1.6.0   Back to index