File: UbuntuMessage.h

package info (click to toggle)
caret 5.6.4~dfsg.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 31,904 kB
  • ctags: 28,901
  • sloc: cpp: 378,050; python: 6,718; ansic: 5,507; makefile: 333; sh: 46
file content (53 lines) | stat: -rw-r--r-- 2,079 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef __UBUNTU_MESSAGE_H__
#define __UBUNTU_MESSAGE_H__

#include <QString>

/**
 * Provides a warning message to Ubuntu users.
 */
class UbuntuMessage {
public:
   static QString getWarningMessage() {
      QString s = 
      "The official version of Caret software is produced by the "
      "Van Essen Laboratory at Washington University and is "
      "available from:\n"
      "   http://brainvis.wustl.edu/wiki/index.php/Caret:About\n"
      "\n"
      "Only versions of Caret downloaded from the above web site "
      "are supported by the Van Essen Laboratory."
      "\n\n"
      "This version of Caret is a Debian package and is neither "
      "distributed, nor supported, by the Van Essen Laboratory."
      "\n\n"
      "Some functionality may be missing if Caret cannot locate "
      "resources that are included in the official distribution. "
      "These functions include, but are not limited to: \n"
      "   - Help Menu Documentation\n"
      "   - Landmark Border Drawing\n"
      "   - Map Volumes to Surface via PALS Atlas\n"
      "   - Movie Making\n"
      "   - Multi-Resolution Morphing\n"
      "   - Projection of Foci via PALS Atlas\n"
      "   - Surface-Based Registration\n"
      "   - Surface Flattening\n"
      "\n"
      "Please see /usr/share/doc/caret/README.Debian for information "
      "on how to obtain the relevant resources as Debian package. "
      "This message is shown, because the resource package (caret-data) "
      "has not been found on this system.\n"
      "\n"
      "The official Caret distribution contains specific versions "
      "of third party software known to function correctly with "
      "Caret.  However, this Debian version of Caret relies on "
      "separately installed Debian packages that contain the third party "
      "software and these third party packages may not be "
      "compatible with Caret.  As a result, some functions in Caret "
      "may not operate correctly.  Faulty surface drawing is one "
      "symptom.";
      
      return s;
   }
};
#endif // __UBUNTU_MESSAGE_H__