diff options
Diffstat (limited to 'writerperfect/inc/WPFTResMgr.hxx')
-rw-r--r-- | writerperfect/inc/WPFTResMgr.hxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/writerperfect/inc/WPFTResMgr.hxx b/writerperfect/inc/WPFTResMgr.hxx new file mode 100644 index 000000000000..d578685f275e --- /dev/null +++ b/writerperfect/inc/WPFTResMgr.hxx @@ -0,0 +1,20 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ + +#ifndef INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX +#define INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX + +#include "writerperfectdllapi.h" + +#include <tools/resid.hxx> + +struct WRITERPERFECT_DLLPUBLIC WPFTResMgr +{ + static ResMgr &GetResMgr(); +}; + +#define WPFT_RES(i) ResId((i), WPFTResMgr::GetResMgr()) +#define WPFT_RESSTR(i) WPFT_RES(i).toString() + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |