diff options
Diffstat (limited to 'solenv/doc')
-rw-r--r-- | solenv/doc/gbuild/solenv/gbuild/alllangres.mk | 108 | ||||
-rw-r--r-- | solenv/doc/gbuild/solenv/gbuild/types.mk | 9 |
2 files changed, 0 insertions, 117 deletions
diff --git a/solenv/doc/gbuild/solenv/gbuild/alllangres.mk b/solenv/doc/gbuild/solenv/gbuild/alllangres.mk deleted file mode 100644 index 45482a92420d..000000000000 --- a/solenv/doc/gbuild/solenv/gbuild/alllangres.mk +++ /dev/null @@ -1,108 +0,0 @@ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <types.h> - -namespace gb -{ - class SrsTarget; - class ResTarget; - class AllLangResTarget; - - class SrsPartTarget : public Target, public HasDependencies, public UsesRsc - { - private: - /// SrsPartTarget s do not need to be explicitly constructed. - - /// They are a helper class for the SrsTarget class. - /// They are named after the path of their source file (without - /// file extension) from the root of their source repository. - SrsPartTarget(String name); - friend class SrsTarget; - - /// Platformdependent command to generate the dependencies for the srs target. - static const Command command_dep( - String srsname, - Path sourcefile, - List<Path> include, - List<String> defs); - }; - - class SrsTarget : public Target, public HasDependencies, public IsCleanable - { - public: - /// Sets defines for srs processing. - /// \$\$(DEFS) contains the current flags and can be used, if - /// just a few need to be modified. - void set_defs(List<String> defs); - /// Sets the include paths for srs processing. - /// \$\$(INCLUDE) contains the current paths and can be used, if - /// just a few need to be modified. - void set_include(List<String> include); - /// Adds a SrsPartTarget to be processed. - void add_file(SrsPartTarget part); - /// Adds multiple SrsPartTarget s to be processed. - void add_files(List<SrsPartTarget> parts); - private: - /// SrsTarget s do not need to be explicitly constructed. - - /// They are a helper class for the ResTarget class. - SrsTarget(String name); - friend class ResTarget; - - List<String> DEFS; - List<String> INCLUDE - List<SrsPartTarget> PARTS; - static const List<String> DEFAULTDEFS; - }; - - class ResTarget : public Target, public IsCleanable, public HasSrs - { - public: - void add_file(Path file); - void add_files(List<Path> files); - private: - /// ResTarget do not need to be explicitly constructed. - - /// They are a helper class for the AllLangResTarget class. - ResTarget(String name, String library, Language lang, Path reslocation); - friend class AllLangResTarget; - - String LIBRARY; - Language LANGUAGE; - Path RESLOCATION; - }; - - class AllLangResTarget : public Target, public IsCleanable, public HasSrs - { - public: - AllLangResTarget(String name); - /// Sets the location where resources are to be found. reslocation is a path relative to the icon-themes/galaxy directory. - /// Resources will be found in reslocation itself and in the subdirectories res/ of it and again in subdirectories - /// of those named as the language of the processed resource. In addition, resources are found in the res/ directory directly - /// below icon-themes/galaxy and the subdirectory of it named as the language of the processed resource. - void set_reslocation(Path reslocation); - private: - /// Sets the languages for which to create resources. - static void set_langs(List<Language> langs); - - /// The list of languages that need to be build. - static List<Language> LANGS; - }; -} -/* vim: set filetype=cpp : */ diff --git a/solenv/doc/gbuild/solenv/gbuild/types.mk b/solenv/doc/gbuild/solenv/gbuild/types.mk index cf10d4db8bdf..7e606bd02731 100644 --- a/solenv/doc/gbuild/solenv/gbuild/types.mk +++ b/solenv/doc/gbuild/solenv/gbuild/types.mk @@ -158,15 +158,6 @@ namespace gb { namespace types /// just a few need to be modified. void set_include(List<Path> include); }; - /// A target using the resource compiler - class UsesRsc - { - public: - /// The command to execute rsc. - static const Command RSCCOMMAND; - /// The target on with to depend to make sure the rsc executable is available. - static const Path RSCTARGET; - }; /// A target processing a set of srs files class HasSrs { |