"Fossies" - the Fresh Open Source Software Archive

Member "regexxer-0.10/src/globalstrings.h" (6 Oct 2011, 2817 Bytes) of package /linux/privat/old/regexxer-0.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "globalstrings.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * Copyright (c) 2002-2007  Daniel Elstner  <daniel.kitta@gmail.com>
    3  *
    4  * This file is part of regexxer.
    5  *
    6  * regexxer is free software; you can redistribute it and/or modify
    7  * it under the terms of the GNU General Public License as published by
    8  * the Free Software Foundation; either version 2 of the License, or
    9  * (at your option) any later version.
   10  *
   11  * regexxer is distributed in the hope that it will be useful,
   12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14  * GNU General Public License for more details.
   15  *
   16  * You should have received a copy of the GNU General Public License
   17  * along with regexxer; if not, write to the Free Software Foundation,
   18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   19  */
   20 
   21 #ifndef REGEXXER_GLOBALSTRINGS_H_INCLUDED
   22 #define REGEXXER_GLOBALSTRINGS_H_INCLUDED
   23 
   24 #include <glib/gutils.h>  /* for G_DIR_SEPARATOR_S */
   25 
   26 namespace Regexxer
   27 {
   28 
   29 /*
   30  * Thanks to the GNU compiler/linker, these namespaced string constants
   31  * are no less efficient than string literals or preprocessor #defines.
   32  * The final executable contains exactly one copy of each string literal,
   33  * so there's no need to define them in a separate object file.
   34  */
   35 const char *const conf_schema                  = "org.regexxer";
   36 const char *const conf_key_textview_font       = "textview-font";
   37 const char *const conf_key_match_color         = "match-color";
   38 const char *const conf_key_current_match_color = "current-match-color";
   39 const char *const conf_key_fallback_encoding   = "fallback-encoding";
   40 const char *const conf_key_substitution_patterns = "substitution-patterns";
   41 const char *const conf_key_regex_patterns      = "regex-patterns";
   42 const char *const conf_key_files_patterns      = "files-patterns";
   43 const char *const conf_key_window_width        = "window-width";
   44 const char *const conf_key_window_height       = "window-height";
   45 const char *const conf_key_window_position_x   = "window-position-x";
   46 const char *const conf_key_window_position_y   = "window-position-y";
   47 const char *const conf_key_window_maximized    = "window-maximized";
   48 const char *const conf_key_show_line_numbers   = "show-line-numbers";
   49 const char *const conf_key_highlight_current_line = "highlight-current-line";
   50 const char *const conf_key_auto_indentation    = "auto-indentation";
   51 const char *const conf_key_draw_spaces         = "draw-space";
   52 
   53 const char *const ui_mainwindow_filename       = REGEXXER_PKGDATADIR G_DIR_SEPARATOR_S
   54                                                  "mainwindow.ui";
   55 const char *const ui_prefdialog_filename       = REGEXXER_PKGDATADIR G_DIR_SEPARATOR_S
   56                                                  "prefdialog.ui";
   57 
   58 } // namespace Regexxer
   59 
   60 #endif /* REGEXXER_GLOBALSTRINGS_H_INCLUDED */