summaryrefslogtreecommitdiffstats
path: root/reportdesign/source/inc/constasciistring.hxx
blob: f4d38af3f5f4e2bcd8781a7a0f8ff91b828c5abd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#ifndef _RPTSHARED_CONSTASCIISTRING_HXX_
#define _RPTSHARED_CONSTASCIISTRING_HXX_

#ifndef CONSTASCII_INCLUDED_INDIRECT
#error "don't include this file directly! use stringconstants.hrc instead!"
#endif

// no namespaces. This file is included from several other files _within_ a namespace.

//============================================================

#define DECLARE_CONSTASCII_USTRING( name ) \
    extern const ConstAsciiString name

#define IMPLEMENT_CONSTASCII_USTRING( name, string ) \
    const ConstAsciiString name = {RTL_CONSTASCII_STRINGPARAM(string)}

#endif // _RPTSHARED_CONSTASCIISTRING_HXX_

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */