1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #ifndef SOLTOOLS_GILACCES_HXX
29 #define SOLTOOLS_GILACCES_HXX
33 class GenericInfoParseTypes
48 /** This class is an abstract interface for a service, which
49 builds a memory structure out of a generic information
50 structure, read from a file or other stream.
52 There may be different implementations, which build different kinds
55 class GenericInfoList_Builder
58 typedef unsigned long UINT32
;
60 virtual ~GenericInfoList_Builder() {}
65 const char * i_sValue
,
66 UINT32 i_nValueLength
,
67 const char * i_sComment
,
68 UINT32 i_nCommentLength
) = 0;
70 virtual void OpenList() = 0;
71 virtual void CloseList() = 0;
75 /** This class is an abstract interface for a service, which
76 returns the values of a generic information tree out of
79 There may be different implementations, which browse different
80 kinds of memory structures.
82 class GenericInfoList_Browser
85 virtual ~GenericInfoList_Browser() {}
87 virtual bool Start_CurList() = 0;
88 virtual bool NextOf_CurList() = 0;
90 virtual void Get_CurKey(
91 char * o_rKey
) const = 0;
92 virtual void Get_CurValue(
93 char * o_rValue
) const = 0;
94 virtual void Get_CurComment(
95 char * o_rComment
) const = 0;
96 virtual bool HasSubList_CurKey() const = 0;
98 virtual void Push_CurList() = 0;
99 virtual void Pop_CurList() = 0;