update dev300-m58
[ooovba.git] / soltools / testSHL / inc / tstMgr.hxx
blob3d0bd3f583052d9c7c0d887d94014bc757ab5240
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: tstMgr.hxx,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _SOLTOOLS_TESTSHL_TSTMGR_HXX__
31 #define _SOLTOOLS_TESTSHL_TSTMGR_HXX__
33 #include <sal/types.h>
35 #include <vector>
37 using namespace std;
39 // <namespace_tstutl>
40 namespace tstutl {
42 // <class_tstMgr>
43 class tstMgr {
45 // <private_members>
46 struct tstMgr_Impl;
47 tstMgr_Impl* pImpl;
48 // </private_members>
50 // <private_methods>
51 void cleanup();
52 // </private_methods>
54 public:
56 // <dtor>
57 ~tstMgr(){
58 cleanup();
59 } // </dtor>
62 // <public_methods>
63 sal_Bool initialize( sal_Char* moduleName, sal_Bool boom = sal_False );
64 sal_Bool test_Entry( sal_Char* entry, sal_Char* logName = 0 );
65 sal_Bool test_Entries( vector< sal_Char* > entries, sal_Char* logName = 0 );
66 sal_Bool test_EntriesFromFile( sal_Char* fName, sal_Char* logName = 0 );
67 // </public_methods>
69 }; // </class_tstMgr>
71 } // </namespace_tstutl>
73 #endif