Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
c5a51893
Kaydet (Commit)
c5a51893
authored
Nis 04, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up unreferenced functions
Change-Id: Ie6560c806369a2d1698b4df43710f3aebb10ed6a
üst
c8c6c831
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
6 deletions
+32
-6
GetMetadataForFile.h
extensions/source/macosx/spotlight/GetMetadataForFile.h
+29
-0
GetMetadataForFile.m
extensions/source/macosx/spotlight/GetMetadataForFile.m
+1
-0
main.m
extensions/source/macosx/spotlight/main.m
+2
-6
No files found.
extensions/source/macosx/spotlight/GetMetadataForFile.h
0 → 100644
Dosyayı görüntüle @
c5a51893
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_EXTENSIONS_SOURCE_MACOSX_SPOTLIGHT_GETMETADATAFORFILE_H
#define INCLUDED_EXTENSIONS_SOURCE_MACOSX_SPOTLIGHT_GETMETADATAFORFILE_H
Boolean
GetMetadataForFile
(
void
*
thisInterface
,
CFMutableDictionaryRef
attributes
,
CFStringRef
contentTypeUTI
,
CFStringRef
pathToFile
);
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
extensions/source/macosx/spotlight/GetMetadataForFile.m
Dosyayı görüntüle @
c5a51893
...
...
@@ -21,6 +21,7 @@
#include <CoreServices/CoreServices.h>
#include <Foundation/Foundation.h>
#include "GetMetadataForFile.h"
#import "OOoSpotlightImporter.h"
/* -----------------------------------------------------------------------------
...
...
extensions/source/macosx/spotlight/main.m
Dosyayı görüntüle @
c5a51893
...
...
@@ -35,6 +35,8 @@
#
include
<
CoreFoundation
/
CFPlugInCOM
.
h
>
#
include
<
CoreServices
/
CoreServices
.
h
>
#
include
"
GetMetadataForFile
.
h
"
//
-----------------------------------------------------------------------------
//
constants
//
-----------------------------------------------------------------------------
...
...
@@ -54,12 +56,6 @@
//
typedefs
//
-----------------------------------------------------------------------------
//
The
import
function
to
be
implemented
in
GetMetadataForFile
.
c
Boolean
GetMetadataForFile
(
void
*
thisInterface
,
CFMutableDictionaryRef
attributes
,
CFStringRef
contentTypeUTI
,
CFStringRef
pathToFile
);
//
The
layout
for
an
instance
of
MetaDataImporterPlugIn
typedef
struct
__
MetadataImporterPluginType
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment