mozilla-kde.patch
branchfirefox32
changeset 757 7913ca5779dc
parent 748 72ba5129e5fd
child 760 7c3ac3010cc6
equal deleted inserted replaced
756:e4fa9844604e 757:7913ca5779dc
  2838 +}
  2838 +}
  2839 diff --git a/uriloader/exthandler/unix/nsKDERegistry.h b/uriloader/exthandler/unix/nsKDERegistry.h
  2839 diff --git a/uriloader/exthandler/unix/nsKDERegistry.h b/uriloader/exthandler/unix/nsKDERegistry.h
  2840 new file mode 100644
  2840 new file mode 100644
  2841 --- /dev/null
  2841 --- /dev/null
  2842 +++ b/uriloader/exthandler/unix/nsKDERegistry.h
  2842 +++ b/uriloader/exthandler/unix/nsKDERegistry.h
  2843 @@ -0,0 +1,29 @@
  2843 @@ -0,0 +1,34 @@
  2844 +/* This Source Code Form is subject to the terms of the Mozilla Public
  2844 +/* This Source Code Form is subject to the terms of the Mozilla Public
  2845 + * License, v. 2.0. If a copy of the MPL was not distributed with this
  2845 + * License, v. 2.0. If a copy of the MPL was not distributed with this
  2846 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  2846 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       
  2847 +
       
  2848 +#ifndef nsKDERegistry_h__
       
  2849 +#define nsKDERegistry_h__
  2847 +
  2850 +
  2848 +#include "nsIURI.h"
  2851 +#include "nsIURI.h"
  2849 +#include "nsCOMPtr.h"
  2852 +#include "nsCOMPtr.h"
  2850 +#include "nsTArray.h"
  2853 +#include "nsTArray.h"
  2851 +
  2854 +
  2868 +  static already_AddRefed<nsMIMEInfoBase> GetFromType(const nsACString& aMIMEType);
  2871 +  static already_AddRefed<nsMIMEInfoBase> GetFromType(const nsACString& aMIMEType);
  2869 + private:
  2872 + private:
  2870 +  static already_AddRefed<nsMIMEInfoBase> GetFromHelper(const nsTArray<nsCString>& command);
  2873 +  static already_AddRefed<nsMIMEInfoBase> GetFromHelper(const nsTArray<nsCString>& command);
  2871 +
  2874 +
  2872 +};
  2875 +};
       
  2876 +
       
  2877 +#endif //nsKDERegistry_h__
  2873 diff --git a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
  2878 diff --git a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
  2874 --- a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
  2879 --- a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
  2875 +++ b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
  2880 +++ b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
  2876 @@ -10,30 +10,33 @@
  2881 @@ -10,30 +10,33 @@
  2877  #include <QString>
  2882  #include <QString>