001    /*
002     *  Copyright 2012 GWT-Bootstrap
003     *
004     *  Licensed under the Apache License, Version 2.0 (the "License");
005     *  you may not use this file except in compliance with the License.
006     *  You may obtain a copy of the License at
007     *
008     *      http://www.apache.org/licenses/LICENSE-2.0
009     *
010     *  Unless required by applicable law or agreed to in writing, software
011     *  distributed under the License is distributed on an "AS IS" BASIS,
012     *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     *  See the License for the specific language governing permissions and
014     *  limitations under the License.
015     */
016    package com.github.gwtbootstrap.client.ui.resources.prettify;
017    
018    import java.util.Arrays;
019    import java.util.List;
020    
021    import com.google.gwt.core.client.GWT;
022    import com.google.gwt.resources.client.ClientBundle;
023    import com.google.gwt.resources.client.TextResource;
024    
025    /**
026     * Resources for prettify plugin.
027     * 
028     * @since 2.0.4.0
029     * 
030     * @author Carlos A Becker
031     * 
032     */
033    public interface PrettifyResources extends ClientBundle {
034    
035            public static final List<String> speciallangs = Arrays.asList("apollo",
036                            "clj", "css", "go", "hs", "lisp", "lua", "ml", "n", "proto",
037                            "scala", "sql", "tex", "vb", "vhdl", "wiki", "xq", "yaml");
038    
039            public static PrettifyResources RESOURCES = GWT
040                            .create(PrettifyResources.class);
041    
042            @Source("prettify.css")
043            TextResource prettify_css();
044    
045            @Source("prettify.js")
046            TextResource prettify_js();
047    
048            // langs
049            @Source("lang-apollo.js")
050            TextResource apollo();
051    
052            @Source("lang-clj.js")
053            TextResource clj();
054    
055            @Source("lang-css.js")
056            TextResource css();
057    
058            @Source("lang-go.js")
059            TextResource go();
060    
061            @Source("lang-hs.js")
062            TextResource hs();
063    
064            @Source("lang-lisp.js")
065            TextResource lisp();
066    
067            @Source("lang-lua.js")
068            TextResource lua();
069    
070            @Source("lang-ml.js")
071            TextResource ml();
072    
073            @Source("lang-n.js")
074            TextResource n();
075    
076            @Source("lang-proto.js")
077            TextResource proto();
078    
079            @Source("lang-scala.js")
080            TextResource scala();
081    
082            @Source("lang-sql.js")
083            TextResource sql();
084    
085            @Source("lang-tex.js")
086            TextResource tex();
087    
088            @Source("lang-vb.js")
089            TextResource vb();
090    
091            @Source("lang-vhdl.js")
092            TextResource vhdl();
093    
094            @Source("lang-wiki.js")
095            TextResource wiki();
096    
097            @Source("lang-xq.js")
098            TextResource xq();
099    
100            @Source("lang-yaml.js")
101            TextResource yaml();
102    
103    }