[longomatch/gameunits] WIP
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/gameunits] WIP
- Date: Tue, 6 Dec 2011 21:22:07 +0000 (UTC)
commit 5f973c1537b073eff5c8e2f1d4471fff21d48247
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Dec 6 22:21:53 2011 +0100
WIP
LongoMatch.Core/Interfaces/GUI/IBusyDialog.cs | 29 +++++++++++++++
.../Interfaces/Multimedia/IFramesCapturer.cs | 38 ++++++++++++++++++++
2 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Core/Interfaces/GUI/IBusyDialog.cs b/LongoMatch.Core/Interfaces/GUI/IBusyDialog.cs
new file mode 100644
index 0000000..b846447
--- /dev/null
+++ b/LongoMatch.Core/Interfaces/GUI/IBusyDialog.cs
@@ -0,0 +1,29 @@
+//
+// Copyright (C) 2011 Andoni Morales Alastruey
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+//
+using System;
+
+namespace LongoMatch.Interfaces.GUI
+{
+ public interface IBusyDialog
+ {
+ void Pulse();
+ void Destroy();
+ void Show();
+ }
+}
+
diff --git a/LongoMatch.Core/Interfaces/Multimedia/IFramesCapturer.cs b/LongoMatch.Core/Interfaces/Multimedia/IFramesCapturer.cs
new file mode 100644
index 0000000..bdc01a2
--- /dev/null
+++ b/LongoMatch.Core/Interfaces/Multimedia/IFramesCapturer.cs
@@ -0,0 +1,38 @@
+// IFramesCapturer.cs
+//
+// Copyright (C) 2007-2009 Andoni Morales Alastruey
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+//
+//
+
+using System;
+using Gdk;
+
+namespace LongoMatch.Interfaces.Multimedia
+{
+
+
+ public interface IFramesCapturer
+ {
+ bool Open(string mrl);
+ bool SeekTime(long time, bool accurate);
+ void Pause();
+ void Dispose();
+ Pixbuf GetCurrentFrame(int outwidth, int outheight);
+ Pixbuf GetCurrentFrame();
+
+ }
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]