LibreOffice Module shell (master) 1
|
#include <global.hxx>
#include <infotips.hxx>
#include <shlxthdl.hxx>
#include <metainforeader.hxx>
#include <contentreader.hxx>
#include <utilities.hxx>
#include <registry.hxx>
#include <fileextensions.hxx>
#include <iso8601_converter.hxx>
#include <config.hxx>
#include <resource.h>
#include <stdio.h>
#include <utility>
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | MAX_STRING 80 |
#define | KB 1024.0 |
Functions | |
const std::wstring | WSPACE (SPACE) |
static std::wstring | getFileTypeInfo (const std::wstring &file_extension) |
get file type information from registry. More... | |
static DWORD | getSizeOfFile (wchar_t const *FileName) |
get file size. More... | |
static std::wstring | formatSizeOfFile (DWORD dwSize) |
format file size in to be more readable. More... | |
static std::wstring | getFileSizeInfo (wchar_t const *FileName) |
get file size information. More... | |
#define KB 1024.0 |
Definition at line 38 of file infotips.cxx.
#define MAX_STRING 80 |
Definition at line 37 of file infotips.cxx.
|
static |
format file size in to be more readable.
Definition at line 140 of file infotips.cxx.
References KB, pos, and StringToWString().
Referenced by getFileSizeInfo().
|
static |
get file size information.
Definition at line 181 of file infotips.cxx.
References EMPTY_STRING, formatSizeOfFile(), and getSizeOfFile().
Referenced by CInfoTip::GetInfoTip().
|
static |
get file type information from registry.
Definition at line 104 of file infotips.cxx.
References EMPTY_STRING, MAX_STRING, and QueryRegistryKey().
Referenced by CInfoTip::GetInfoTip().
|
static |
const std::wstring WSPACE | ( | SPACE | ) |