From 34724c2c2f2d30cf66e74ef3e848547171c7fee9 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 20 Jul 2008 12:40:21 +0000 Subject: [PATCH] Migrate from msppath to mspfs --- Build | 2 +- source/resources.cpp | 2 +- source/resources.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Build b/Build index 7afd6c0..9ee98b9 100644 --- a/Build +++ b/Build @@ -4,7 +4,7 @@ package "mspgltk" { require "mspgl"; require "mspgbase"; - require "msppath"; + require "mspfs"; library "mspgltk" { diff --git a/source/resources.cpp b/source/resources.cpp index 01426a2..886b416 100644 --- a/source/resources.cpp +++ b/source/resources.cpp @@ -24,7 +24,7 @@ Resources::Resources(): add_creator(&Resources::create_texture); } -void Resources::set_path(const Path &p) +void Resources::set_path(const FS::Path &p) { path=p; } diff --git a/source/resources.h b/source/resources.h index c12215c..c61d38a 100644 --- a/source/resources.h +++ b/source/resources.h @@ -11,7 +11,7 @@ Distributed under the LGPL #include #include #include -#include +#include #include "graphic.h" #include "style.h" @@ -25,7 +25,7 @@ instance in constructor. class Resources: public DataFile::Collection { private: - Path path; + FS::Path path; GL::Font *default_font; public: @@ -44,7 +44,7 @@ public: Resources(); - void set_path(const Path &); + void set_path(const FS::Path &); const GL::Font &get_default_font() const; private: GL::Font *create_font(const std::string &); -- 2.43.0