Changeset View
Changeset View
Standalone View
Standalone View
src/kpackage/version.h
Show All 36 Lines | |||||
37 | * Namespace for everything in kpackage | 37 | * Namespace for everything in kpackage | ||
38 | */ | 38 | */ | ||
39 | namespace KPackage | 39 | namespace KPackage | ||
40 | { | 40 | { | ||
41 | 41 | | |||
42 | /** | 42 | /** | ||
43 | * The runtime version of libkpackage | 43 | * The runtime version of libkpackage | ||
44 | */ | 44 | */ | ||
45 | PACKAGE_EXPORT unsigned int version(); | 45 | KPACKAGE_EXPORT unsigned int version(); | ||
46 | 46 | | |||
47 | /** | 47 | /** | ||
48 | * The runtime major version of libkpackage | 48 | * The runtime major version of libkpackage | ||
49 | */ | 49 | */ | ||
50 | PACKAGE_EXPORT unsigned int versionMajor(); | 50 | KPACKAGE_EXPORT unsigned int versionMajor(); | ||
51 | 51 | | |||
52 | /** | 52 | /** | ||
53 | * The runtime major version of libkpackage | 53 | * The runtime major version of libkpackage | ||
54 | */ | 54 | */ | ||
55 | PACKAGE_EXPORT unsigned int versionMinor(); | 55 | KPACKAGE_EXPORT unsigned int versionMinor(); | ||
56 | 56 | | |||
57 | /** | 57 | /** | ||
58 | * The runtime major version of libkpackage | 58 | * The runtime major version of libkpackage | ||
59 | */ | 59 | */ | ||
60 | PACKAGE_EXPORT unsigned int versionRelease(); | 60 | KPACKAGE_EXPORT unsigned int versionRelease(); | ||
61 | 61 | | |||
62 | /** | 62 | /** | ||
63 | * The runtime version string of libkpackage | 63 | * The runtime version string of libkpackage | ||
64 | */ | 64 | */ | ||
65 | PACKAGE_EXPORT const char *versionString(); | 65 | KPACKAGE_EXPORT const char *versionString(); | ||
66 | 66 | | |||
67 | /** | 67 | /** | ||
68 | * Verifies that a plugin is compatible with plasma | 68 | * Verifies that a plugin is compatible with plasma | ||
69 | */ | 69 | */ | ||
70 | PACKAGE_EXPORT bool isPluginVersionCompatible(unsigned int version); | 70 | KPACKAGE_EXPORT bool isPluginVersionCompatible(unsigned int version); | ||
71 | 71 | | |||
72 | } // Plasma namespace | 72 | } // Plasma namespace | ||
73 | 73 | | |||
74 | #endif // multiple inclusion guard | 74 | #endif // multiple inclusion guard |