/usr/include/libical/icalbdbset_cxx.h is in libical-dev 3.0.1-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | /**
* @file icalbdbset_cxx.h
* @author dml 12/12/01
* @brief Definition of C++ Wrapper for icalbdbset.c
*
* (C) COPYRIGHT 2001, Critical Path
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of either:
*
* The LGPL as published by the Free Software Foundation, version
* 2.1, available at: http://www.gnu.org/licenses/lgpl-2.1.html
*
* Or:
*
* The Mozilla Public License Version 2.0. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*/
#ifndef ICALBDBSET_CXX_H
#define ICALBDBSET_CXX_H
#include "libical_icalss_export.h"
#include <string>
namespace LibICal
{
class VComponent;
class LIBICAL_ICALSS_EXPORT ICalBDBSet
{
public:
ICalBDBSet();
ICalBDBSet(const ICalBDBSet &);
ICalBDBSet(const std::string &path, int flags);
ICalBDBSet operator=(const ICalBDBSet &);
~ICalBDBSet();
public:
void free();
std::string path();
icalerrorenum add_component(VComponent *child);
icalerrorenum remove_component(VComponent *child);
int count_components(icalcomponent_kind kind);
// Restrict the component returned by icalbdbset_first, _next to those
// that pass the gauge. _clear removes the gauge
icalerrorenum select(icalgauge *gauge);
void clear();
// Get and search for a component by uid
VComponent *fetch(std::string &uid);
VComponent *fetch_match(icalcomponent *c);
int has_uid(std::string &uid);
// Iterate through components. If a guage has been defined, these
// will skip over components that do not pass the gauge
VComponent *get_current_component();
VComponent *get_first_component();
VComponent *get_next_component();
VComponent *get_component();
};
} // namespace LibICal
#endif
|