Remove unused Project-related classes

This commit is contained in:
David Capello 2019-02-15 15:49:36 -03:00
parent 1c05ea10bb
commit 668b29193a
5 changed files with 0 additions and 105 deletions

View File

@ -560,7 +560,6 @@ add_library(app-lib
modules.cpp
modules/palettes.cpp
pref/preferences.cpp
project.cpp
recent_files.cpp
res/palettes_loader_delegate.cpp
res/resources_loader.cpp

View File

@ -1,23 +0,0 @@
// Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is distributed under the terms of
// the End-User License Agreement for Aseprite.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/project.h"
namespace app {
Project::Project()
{
}
Project::~Project()
{
}
} // namespace app

View File

@ -1,28 +0,0 @@
// Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is distributed under the terms of
// the End-User License Agreement for Aseprite.
#ifndef APP_PROJECT_H_INCLUDED
#define APP_PROJECT_H_INCLUDED
#pragma once
#include "app/project_observer.h"
#include "base/disable_copying.h"
#include "obs/observable.h"
namespace app {
class Project : public obs::observable<ProjectObserver> {
public:
Project();
~Project();
private:
DISABLE_COPYING(Project);
};
} // namespace app
#endif

View File

@ -1,28 +0,0 @@
// Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is distributed under the terms of
// the End-User License Agreement for Aseprite.
#ifndef APP_PROJECT_EVENT_H_INCLUDED
#define APP_PROJECT_EVENT_H_INCLUDED
#pragma once
namespace app {
class Doc;
class ProjectEvent {
public:
ProjectEvent(Doc* document)
: m_document(document) {
}
Doc* document() const { return m_document; }
private:
Doc* m_document;
};
} // namespace app
#endif

View File

@ -1,25 +0,0 @@
// Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is distributed under the terms of
// the End-User License Agreement for Aseprite.
#ifndef APP_PROJECT_OBSERVER_H_INCLUDED
#define APP_PROJECT_OBSERVER_H_INCLUDED
#pragma once
#include "app/project_event.h"
namespace app {
class ProjectObserver {
public:
virtual ~ProjectObserver() { }
virtual void dispose() = 0;
virtual void onAddDocument(ProjectEvent& ev) = 0;
virtual void onRemoveDocument(ProjectEvent& ev) = 0;
};
} // namespace app
#endif