All pastes #804168 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-12-03 04:40 UTC
rendered paste body
**
 * Ultraviolet Update System
 * Copyright (C) 2007, Michael Casadevall <sonicmctails@gmail.com>
 */

#include <vector>
#include <string>
#include "boost/filesystem.hpp"

namespace ultraviolet {
  class CUltraViolet {
    // Constructors
    CUltraViolet();

    // Public Functions
    bool Initalize(std::string uv_server);
    bool CheckFile(boost::filesystem::path filePath);
    bool UpdateFile(boost::filesystem::path filePath);
    bool UpgradePackage();
    void SpawnStandaloneUpgrader();
  }
}