mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 06:28:54 +00:00
Add method to return theme version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28883 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
903ace2b7e
commit
f43122287f
2 changed files with 9 additions and 0 deletions
|
@ -509,6 +509,11 @@ APPKIT_EXPORT NSString *GSThemeWillDeactivateNotification;
|
|||
- (GSDrawTiles*) tilesNamed: (NSString*)aName
|
||||
state: (GSThemeControlState)elementState
|
||||
cache: (BOOL)useCache;
|
||||
/**
|
||||
* Return the theme's version string.
|
||||
*/
|
||||
- (NSString*) versionString;
|
||||
|
||||
@end
|
||||
|
||||
/**
|
||||
|
|
|
@ -953,6 +953,10 @@ typedef struct {
|
|||
return tiles;
|
||||
}
|
||||
|
||||
- (NSString*) versionString
|
||||
{
|
||||
return [[self infoDictionary] objectForKey: @"GSThemeVersion"];
|
||||
}
|
||||
@end
|
||||
|
||||
@implementation GSTheme (Private)
|
||||
|
|
Loading…
Reference in a new issue