revert jeff's last commit since it breaks the build
[moon.git] / src / imagesource.cpp
blob4c101acb3025f0964f407fc8bc5a0ff706065df0
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * bitmapsource.cpp
5 * Contact:
6 * Moonlight List (moonlight-list@lists.ximian.com)
8 * Copyright 2007-2008 Novell, Inc. (http://www.novell.com)
10 * See the LICENSE file included with the distribution for details.
14 #include <stdio.h>
16 #include "application.h"
17 #include "bitmapsource.h"
19 ImageSource::ImageSource ()
21 SetObjectType (Type::IMAGESOURCE);
24 ImageSource::~ImageSource ()
28 void
29 ImageSource::Lock ()
33 void
34 ImageSource::Unlock ()
38 gint32
39 ImageSource::GetPixelWidth ()
41 return 0;
44 void
45 ImageSource::SetPixelWidth (gint32 width)
49 gint32
50 ImageSource::GetPixelHeight ()
52 return 0;
55 void
56 ImageSource::SetPixelHeight (gint32 height)
60 PixelFormats
61 ImageSource::GetPixelFormat ()
63 return PixelFormatBgr32;
66 void
67 ImageSource::SetPixelFormat (PixelFormats weight)
71 cairo_surface_t *
72 ImageSource::GetSurface (cairo_t *cr)
74 return NULL;