Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libaegisub/common/charset_6937.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
/// @brief A charset converter for ISO-6937-2
/// @ingroup libaegisub

#pragma once

#include <libaegisub/charset_conv.h>
#include <memory>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/common/parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#pragma once

#include <string_view>

namespace agi {
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/lagi_pre.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#ifdef __cplusplus
#include "../acconf.h"

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/lagi_pre_c.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "../acconf.h"

#define WIN32_LEAN_AND_MEAN
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/access.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#pragma once

#include <libaegisub/fs.h>

namespace agi::acs {
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/address_of_adaptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <boost/range/adaptor/transformed.hpp>

namespace agi {
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/ass/dialogue_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <string>
#include <vector>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/ass/smpte.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <libaegisub/vfr.h>

#include <string>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/ass/string_codec.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
///
/// The encoded string should be usable in any kind of field in an ASS file.

#pragma once

#include <string>
#include <string_view>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/ass/uuencode.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <string>
#include <vector>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/cajun/writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include "visitor.h"

#include <ostream>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/calltip_provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <string>
#include <vector>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/character_count.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <string_view>

namespace agi {
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/charset.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#pragma once

#include <libaegisub/fs.h>
#include <string>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/charset_conv_win.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
/// @brief Windows-specific charset conversion stuff
/// @ingroup libaegisub windows

#pragma once

#include <libaegisub/charset_conv.h>

#include <string_view>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/dispatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <functional>
#include <memory>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/file_mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <boost/interprocess/detail/os_file_functions.hpp>

#ifdef _WIN32
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <boost/interprocess/streams/vectorstream.hpp>
#include <boost/io/ios_state.hpp>
#include <libaegisub/fs.h>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/format_flyweight.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <boost/flyweight.hpp>

namespace agi {
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/format_path.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <libaegisub/fs.h>

namespace agi {
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/hotkey.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#pragma once

#include <map>
#include <string>
#include <string_view>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/json.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#pragma once

#include <libaegisub/cajun/elements.h>
#include <libaegisub/fs.h>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/kana_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <boost/range/iterator_range_core.hpp>
#include <string>
#include <vector>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/karaoke_matcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <libaegisub/ass/karaoke.h>
#include <libaegisub/unicode.h>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/keyframe.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#pragma once

#include <libaegisub/fs.h>
#include <libaegisub/exception.h>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/line_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
/// @file line_wrap.h
/// @brief Generic paragraph formatting logic

#pragma once

#include <algorithm>
#include <climits>
#include <numeric>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#pragma once

#include <libaegisub/fs.h>
#include <boost/interprocess/streams/bufferstream.hpp>
#include <cstdint>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/lua/ffi.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <libaegisub/type_name.h>

#include <cstdlib>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/lua/modules.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

struct lua_State;

namespace agi::lua {
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/lua/script_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <libaegisub/fs.h>
#include <vector>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/lua/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <libaegisub/fs.h>

#include <lua.hpp>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/mru.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#pragma once

#include <array>
#include <string_view>
#include <vector>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/of_type_adaptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <boost/range/adaptor/filtered.hpp>
#include <boost/range/adaptor/transformed.hpp>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/option_value.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
/// @brief Container for holding an actual option value.
/// @ingroup libaegisub

#pragma once

#include <cstdint>
#include <vector>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/path.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <libaegisub/fs.h>

#include <array>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/split.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <locale>
#include <string_view>

Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#pragma once

#include <string>

namespace agi {
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/thesaurus.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#pragma once

#include <map>
#include <libaegisub/fs.h>
#include <iosfwd>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/type_name.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <string>

namespace agi {
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#pragma once

#include <algorithm>
#include <boost/range/irange.hpp>
#include <string>
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/util_osx.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
/// When linking with this library, be sure to add '-framework CoreFoundation'
/// to the GCC commandline.

#pragma once

#include <string>

namespace agi {
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/include/libaegisub/ycbcr_conv.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <array>
#include <cstdint>

Expand Down
2 changes: 2 additions & 0 deletions src/aegisublocale.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include <string>

class wxTranslations;
Expand Down
2 changes: 2 additions & 0 deletions src/ass_attachment.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include "ass_entry.h"

#include <boost/flyweight.hpp>
Expand Down
2 changes: 2 additions & 0 deletions src/ass_dialogue.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
//
// Aegisub Project http://www.aegisub.org/

#pragma once

#include "ass_entry.h"
#include "ass_override.h"

Expand Down
Loading
Loading