blob: 5c606495da233b9f3d33818f44f30f6239c63441 [file] [log] [blame]
// Copyright 2014 Google Inc. All Rights Reserved.
//
// Licensed 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
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef SYZYGY_ZAP_TIMESTAMP_ZAP_TIMESTAMP_APP_H_
#define SYZYGY_ZAP_TIMESTAMP_ZAP_TIMESTAMP_APP_H_
#include "syzygy/application/application.h"
#include "syzygy/zap_timestamp/zap_timestamp.h"
namespace zap_timestamp {
// The application class that actually runs ZapTimestamp.
class ZapTimestampApp : public application::AppImplBase {
public:
ZapTimestampApp() : AppImplBase("Zap Timestamp") { }
// @name Implementation of the AppImplbase interface.
// @{
bool ParseCommandLine(const base::CommandLine* command_line);
int Run();
// @}
protected:
// The actual transform. Configuration is performed directly on it.
ZapTimestamp zap_;
private:
DISALLOW_COPY_AND_ASSIGN(ZapTimestampApp);
};
} // namespace zap_timestamp
#endif // SYZYGY_ZAP_TIMESTAMP_ZAP_TIMESTAMP_APP_H_