Back to index

unity  6.0.0
unity-mt-texture.cpp
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2011 Canonical Ltd
00003  *
00004  * This program is free software: you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License version 3 as
00006  * published by the Free Software Foundation.
00007  *
00008  * This program is distributed in the hope that it will be useful,
00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011  * GNU General Public License for more details.
00012  *
00013  * You should have received a copy of the GNU General Public License
00014  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00015  *
00016  * Authored by: Sam Spilsbury <sam.spilsbury@canonical.com>
00017  */
00018 
00019 #include "unity-mt-texture.h"
00020 
00021 boost::shared_ptr <unity::MT::Texture::Factory> unity::MT::Texture::Factory::mDefault;
00022 
00023 unity::MT::Texture::Factory::Factory ()
00024 {
00025 }
00026 
00027 unity::MT::Texture::Factory::~Factory ()
00028 {
00029 }
00030 
00031 void
00032 unity::MT::Texture::Factory::SetDefault (Factory *f)
00033 {
00034   mDefault.reset (f);
00035 }
00036 
00037 boost::shared_ptr <unity::MT::Texture::Factory>
00038 unity::MT::Texture::Factory::Default ()
00039 {
00040   return mDefault;
00041 }
00042 
00043 unity::MT::Texture::Texture ()
00044 {
00045 }
00046 
00047 unity::MT::Texture::~Texture ()
00048 {
00049 }