This file is indexed.

/usr/include/sp/WinApp.h is in libsp1-dev 1.3.4-1.2.1-47.3ubuntu1.

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
// Copyright (c) 1997 James Clark
// See the file COPYING for copying permission.

#ifndef WinApp_INCLUDED
#define WinApp_INCLUDED 1

#include "Event.h"
#include "Vector.h"
#include "StringC.h"
#include "CharsetInfo.h"
#include "ParserOptions.h"
#include "SgmlParser.h"
#include "Ptr.h"
#include "CodingSystemKit.h"

#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif

class SP_API WinApp {
public:
  WinApp();
  ParserOptions options;
  Boolean setEncoding(StringC &tem);
  const StringC &encoding() const;
  Boolean setDefaultEncoding(StringC &tem);
  const StringC &defaultEncoding() const;
  // These are semi-colon delimited lists of system identifiers.
  void setExtraCatalogs(StringC &tem);
  const StringC &extraCatalogs() const;
  void setDefaultCatalogs(StringC &tem);
  const StringC &defaultCatalogs() const;
  void setExtraDirectories(StringC &tem);
  const StringC &extraDirectories() const;
  void setDefaultDirectories(StringC &tem);
  const StringC &defaultDirectories() const;
  void initParser(const StringC &, SgmlParser &);
  void initParser(const StringC &sysid, SgmlParser &, Ptr<EntityManager> &);
private:
  static void setRegistry(const char *name, const StringC &value);
  static Boolean getRegistry(const char *name, StringC &value);
  const InputCodingSystem *getCodingSystem(const StringC &name);

  StringC extraCatalogs_;
  StringC defaultCatalogs_;
  StringC extraDirectories_;
  StringC defaultDirectories_;
  StringC encoding_;
  StringC defaultEncoding_;
  ConstPtr<InputCodingSystemKit> codingSystemKit_;
};

inline
const StringC &WinApp::encoding() const
{
  return encoding_;
}

inline
const StringC &WinApp::defaultEncoding() const
{
  return defaultEncoding_;
}

inline
const StringC &WinApp::extraCatalogs() const
{
  return extraCatalogs_;
}

inline
void WinApp::setExtraCatalogs(StringC &str)
{
  str.swap(extraCatalogs_);
}

inline
const StringC &WinApp::defaultCatalogs() const
{
  return defaultCatalogs_;
}

inline
const StringC &WinApp::extraDirectories() const
{
  return extraDirectories_;
}

inline
void WinApp::setExtraDirectories(StringC &str)
{
  str.swap(extraDirectories_);
}

inline
const StringC &WinApp::defaultDirectories() const
{
  return defaultDirectories_;
}

#ifdef SP_NAMESPACE
}
#endif

#endif /* not WinApp_INCLUDED */