/usr/include/gtksourceviewmm-3.0/gtksourceviewmm/completionactivation.h is in libgtksourceviewmm-3.0-dev 3.18.0-3.
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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | // -*- c++ -*-
// Generated by gmmproc 2.46.1 -- DO NOT MODIFY!
#ifndef _GTKSOURCEVIEWMM_COMPLETIONACTIVATION_H
#define _GTKSOURCEVIEWMM_COMPLETIONACTIVATION_H
#include <glibmm/ustring.h>
#include <sigc++/sigc++.h>
/* completionactivation.h
*
* Copyright (C) 2010, 2011 Krzesimir Nowak
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <glibmm/value.h>
namespace Gsv
{
// TODO: need docs. krnowak
/** @addtogroup gtksourceviewmmEnums gtksourceviewmm Enums and Flags */
/** An enum type specifying something bla bla bla, probably type of activation.
*
* @newin{2,10}
*
* @ingroup gtksourceviewmmEnums
* @par Bitwise operators:
* <tt>%CompletionActivation operator|(CompletionActivation, CompletionActivation)</tt><br>
* <tt>%CompletionActivation operator&(CompletionActivation, CompletionActivation)</tt><br>
* <tt>%CompletionActivation operator^(CompletionActivation, CompletionActivation)</tt><br>
* <tt>%CompletionActivation operator~(CompletionActivation)</tt><br>
* <tt>%CompletionActivation& operator|=(CompletionActivation&, CompletionActivation)</tt><br>
* <tt>%CompletionActivation& operator&=(CompletionActivation&, CompletionActivation)</tt><br>
* <tt>%CompletionActivation& operator^=(CompletionActivation&, CompletionActivation)</tt><br>
*/
enum CompletionActivation
{
COMPLETION_ACTIVATION_NONE = 0x0,
COMPLETION_ACTIVATION_INTERACTIVE = 1 << 0,
COMPLETION_ACTIVATION_USER_REQUESTED = 1 << 1
};
/** @ingroup gtksourceviewmmEnums */
inline CompletionActivation operator|(CompletionActivation lhs, CompletionActivation rhs)
{ return static_cast<CompletionActivation>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs)); }
/** @ingroup gtksourceviewmmEnums */
inline CompletionActivation operator&(CompletionActivation lhs, CompletionActivation rhs)
{ return static_cast<CompletionActivation>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs)); }
/** @ingroup gtksourceviewmmEnums */
inline CompletionActivation operator^(CompletionActivation lhs, CompletionActivation rhs)
{ return static_cast<CompletionActivation>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs)); }
/** @ingroup gtksourceviewmmEnums */
inline CompletionActivation operator~(CompletionActivation flags)
{ return static_cast<CompletionActivation>(~static_cast<unsigned>(flags)); }
/** @ingroup gtksourceviewmmEnums */
inline CompletionActivation& operator|=(CompletionActivation& lhs, CompletionActivation rhs)
{ return (lhs = static_cast<CompletionActivation>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs))); }
/** @ingroup gtksourceviewmmEnums */
inline CompletionActivation& operator&=(CompletionActivation& lhs, CompletionActivation rhs)
{ return (lhs = static_cast<CompletionActivation>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs))); }
/** @ingroup gtksourceviewmmEnums */
inline CompletionActivation& operator^=(CompletionActivation& lhs, CompletionActivation rhs)
{ return (lhs = static_cast<CompletionActivation>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs))); }
} // namespace Gsv
#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace Glib
{
template <>
class Value<Gsv::CompletionActivation> : public Glib::Value_Flags<Gsv::CompletionActivation>
{
public:
static GType value_type() G_GNUC_CONST;
};
} // namespace Glib
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
namespace Gsv
{
/** @var CompletionActivation COMPLETION_ACTIVATION_NONE
* None.
*/
/** @var CompletionActivation COMPLETION_ACTIVATION_INTERACTIVE
* Interactive activation.
*/
/** @var CompletionActivation COMPLETION_ACTIVATION_USER_REQUESTED
* User requested activation.
*
* For example through a keyboard accelerator from the view.
*/
} // namespace Gsv
#endif /* _GTKSOURCEVIEWMM_COMPLETIONACTIVATION_H */
|