~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric-updates

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.SourceEditor/MonoDevelop.SourceEditor/Services.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2009-02-18 08:40:51 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090218084051-gh8m6ukvokbwj7cf
Tags: 1.9.2+dfsg-1ubuntu1
* Merge from Debian Experimental (LP: #330519), remaining Ubuntu changes:
  + debian/control:
    - Update for Gnome# 2.24
    - Add libmono-cairo1.0-cil to build-deps to fool pkg-config check

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
using System;
2
 
 
3
 
using MonoDevelop.Core;
4
 
using MonoDevelop.Core.Execution;
5
 
using MonoDevelop.Core.Gui;
6
 
using MonoDevelop.Projects;
7
 
 
8
 
namespace MonoDevelop.SourceEditor
9
 
{
10
 
        class Services
11
 
        {
12
 
                static IDebuggingService debuggingService;
13
 
 
14
 
                public static MessageService MessageService {
15
 
                        get { return MonoDevelop.Core.Gui.Services.MessageService; }
16
 
                }
17
 
        
18
 
                public static ResourceService Resources {
19
 
                        get { return MonoDevelop.Core.Gui.Services.Resources; }
20
 
                }
21
 
        
22
 
                public static IDebuggingService DebuggingService {
23
 
                        get {
24
 
                                if (debuggingService == null)
25
 
                                        debuggingService = (IDebuggingService) ServiceManager.GetService (typeof(IDebuggingService));
26
 
                                return debuggingService;
27
 
                        }
28
 
                }
29
 
        
30
 
                public static LanguageBindingService Languages {
31
 
                        get { return MonoDevelop.Projects.Services.Languages; }
32
 
                }
33
 
        }
34
 
}
35