Esempio n. 1
0
    void addStrings (std::string const& name, std::vector <std::string> const& strings)
    {
        if (strings.empty ())
        {
            m_journal.debug << "Static source '" << name << "' is empty.";
            return;
        }

        addStaticSource (SourceStrings::New (name, strings));
    }
Esempio n. 2
0
 void addStrings (String name, StringArray const& stringArray)
 {
     if (stringArray.size() > 0)
     {
         addStaticSource (SourceStrings::New (name, stringArray));
     }
     else
     {
         m_journal.debug << "Static source '" << name << "' is empty.";
     }
 }
Esempio n. 3
0
 void addFile (beast::File const& file)
 {
     addStaticSource (SourceFile::New (file));
 }